SwiftUI Function Builders

Episode #430 | 8 minutes | published on March 5, 2020 | Uses Xcode-11.4-beta, Swift-5.2
Subscribers Only
In this episode we add the ability to provide modal content from outside of the modal view. To do this we can leverage @ViewBuilder which is a type of Function Builder. This is a new Swift feature that gives SwiftUI's syntax a DSL rather than writing out vanilla Swift syntax.

Episode Links

  • Function Builders - Initial Pitch - This is the original pitch for the function builders feature and syntax from last summer. I find it interesting to look back at what they were thinking when designing for SwiftUI.
blog comments powered by Disqus