/TypeInitMacro

A Swift macro that generates initializers for classes and structs

Primary LanguageSwift

TypeInitMacro

This is a Swift macro that adds an initializer to a class or a struct. The initializer sets all the properties of the class or struct using the arguments passed to it. It is based on code from HuangRunHa at struct-initial-macro.