SwiftGen Tutorial for iOS

Learn how SwiftGen makes it easy to get rid of magic strings in your iOS projects. By Andy Pereira.

5 (3) · 1 Review

Download materials
Save for later
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to Go From Here?

You can download the completed version of the project by clicking the Download Materials button at the top or bottom of this tutorial.

You now can use SwiftGen to:

  • Remove the need to use strings to reference resources throughout your app, whether you use SwiftUI or UIKit.
  • Customize the output files using built-in parameters.
  • Use your own templates to generate code.

To learn more about it, check out SwiftGen on GitHub. You can learn more about Stencil also on GitHub.

We hope you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below!