ViewBuilder
-
Creating Custom Container Views In SwiftUI
Read about how to create custom container views in SwiftUI similar to the built-in ones and explore additional configuration details.
-
Using the ViewBuilder Attribute to Implement SwiftUI Views in Methods
Meet the ViewBuilder attribute that enables us to create and return SwiftUI views from methods, and read about an additional useful tip.