Software Dev

Swift Sourcery

Meta-programming for Swift, stop writing boilerplate code

πŸ‘‰ Sourcery

I haven’t tried this yet, but it sounds interesting if you find yourself writing repetitive code and can’t find another way around it. I gather it generates code from some sort of template.

Sourcery is a code generator for Swift language, built on top of Apple’s own SourceKit. It extends the language abstractions to allow you to generate boilerplate code automatically.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.