Contents

init(sidebar:detail:)

Creates a two-column navigation split view.

Declaration

nonisolated init(@ContentBuilder sidebar: () -> Sidebar, @ContentBuilder 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