Building your first Swift Macro

Ibrahima Ciss

⏱ 180-min-workshop
intermediate
advanced
10:00-13:00, Wednesday, 22nd May 2024
Property Wrappers were introduced a while back that add some superpowers to a property they’ve been attached to. Now, Swift has taken it a step further by introducing macros. Swift Macros are compiler plugins that generate source code dynamically. Implementing a compiler plugin is a complex task, but we will break it down in this workshop and learn how Macros work in Swift. Together, we will implement a few practical and valuable macros you can use in your day-to-day work. To follow along, make sure you have Xcode 15 and let’s create our first macros.

🏷 swift
🏷 macros

Ibrahima Ciss

Ibrahima is an indie iOS engineer with more than a decade of experience especially interested in building magical and accessible mobile experiences, scaling, and shipping reliable applications. He also loves sharing his knowledge at conferences and meetups around the world.