Contents

init(content:header:footer:)

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

Declaration

init(@ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent, @ViewBuilder footer: () -> Footer)

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