Contents

init(sidebar:detail:)

Creates a two-column navigation split view.

Declaration

init(@ViewBuilder sidebar: () -> Sidebar, @ViewBuilder detail: () -> Detail) where Content == EmptyView

Parameters

  • sidebar:

    The view to show in the leading column.

  • detail:

    The view to show in the detail area.

Mentioned in

See Also

Creating a navigation split view