Initializer

init(content:footer:)

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

Declaration 宣言

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

Parameters パラメータ

content

The section’s content.

footer

A view to use as the section’s footer.

See Also 参照

Adding Headers and Footers