init(_:)
Creates a type-erased value that wraps the specified layout.
Declaration
init<L>(_ layout: L) where L : LayoutDiscussion
You can switch between type-erased layouts without losing the state of the subviews.
Creates a type-erased value that wraps the specified layout.
init<L>(_ layout: L) where L : LayoutYou can switch between type-erased layouts without losing the state of the subviews.