Skip to content

ivangoremykin/union

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adding Union to Swift with Metaprogramming

A supplementary example for a series of articles

Summary

This repository provides examples of UnionX (Union2, Union3, etc.) generation and usage.

There are 3 ways to explore the code:

  1. Open Union.playground to run code generatation and examples of UnionX usage (Sourcery is not required)
  2. Run code generation using a Sourcery template (a Sourcery binary is required)
  3. Run the code on Repl.it — both code generatation and examples of UnionX usage

Please refer to the articles for the details:

Requirements

License

This example is licensed under the MIT License, see LICENSE for more information.

Releases

No releases published

Packages

No packages published

Languages