Initializer

init(content:header:)

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

Declaration 宣言

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

Parameters パラメータ

content

The section’s content.

header

A view to use as the section’s header.

See Also 参照

Adding Headers and Footers