does anyone know of some swift code gen plugins? i...
# multiplatform
w
does anyone know of some swift code gen plugins? i.e. something that allows me to annotate an enum and then it will generate the swift code for the enum and maybe appropriate methods to convert the objc "enum" thing into a swift enum? or used for other purposes? I found https://github.com/outfoxx/swiftpoet which I am curious if people have taken advantage of for iOS interop
c
All Swiftpoet does is generate Swift source files, it doesnt interpret Swift code or anything magical like that. But Sourcery is a project you may want to check out https://github.com/krzysztofzablocki/Sourcery
w
yeah i know, just brought it up as a means of generating swift source