Initializer

init(header:content:)

Creates a section with a header and the provided section content.

Declaration 宣言

init(header: Parent, content: () -> Content)
Available when Parent conforms to View, Content conforms to View, and Footer is EmptyView.

Parameters パラメータ

header

A view to use as the section’s header.

content

The section’s content.

See Also 参照

Deprecated Symbols 非推奨シンボル