Initializer

init(content:header:footer:)

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

Declaration 宣言

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

Parameters パラメータ

content

The section’s content.

header

A view to use as the section’s header.

footer

A view to use as the section’s footer.

See Also 参照

Adding Headers and Footers