Under the Hood: The Building Blocks of SwiftUI

Last updated: 4 months ago

Ever wondered how the closures of SwiftUI's View, VStack, List and so on come together to build an actual interface? Or how the seeming magic of @EnvironmentObject works?

Well this is the session for you, we'll explore function builders, the magic that exists behind each of the UI types, and see how we can use them not just within SwiftUI but for our own gains too — did someone say easy to build NSAttributedStrings?

We'll also explore a powerful new feature of Swift 5.1 that underpins SwiftUI; property wrappers, seeing exactly what they are, how they work & together discover some new and novel ways we can use them, from controlling inputs to simplifying styling of our application.