SwiftUI Function Builders

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.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/430-swiftui-function-builders