Contents

init(_:)

Creates a type-erased value that wraps the specified layout.

Declaration

init<L>(_ layout: L) where L : Layout

Discussion

You can switch between type-erased layouts without losing the state of the subviews.