Slides used in my talk at the NSBudapest meetup in April'17
The talk was mainly a live demo to demonstrate both SwiftGen and Sourcery, the most popular tools to do Code Generation in Swift.
- you can find the video here: http://www.ustream.tv/recorded/103135632
- the sample code used for the live demo here: https://github.com/AliSoftware/CodeGenDemo
---
Swift is a great, type safe and powerful language. But some stuff are still cumbersome to write yourself. And some APIs could deserve more type-safety and less string-based methods.
In this talk we'll discover some popular tools to do code generation for Swift, especially Sourcery and SwiftGen. We'll see how they work, what you can do with them, some concrete and advanced examples of how your code can be made safer, and how you can save a lot of development time thanks to those tools.