MainView

struct MainView : View

SwiftUI View for the main navigation (macOS +iOS)

Note

tvOS has its own View
  • The KodiConnector model

    Declaration

    Swift

    @Environment
    private var kodi: KodiConnector { get }
  • The SceneState model

    Declaration

    Swift

    @Environment
    private var scene: SceneState { get }
  • The search field in the toolbar

    Declaration

    Swift

    @State
    private var searchField: String { get nonmutating set }
  • Set the column visibility

    Declaration

    Swift

    @State
    private var columnVisibility: NavigationSplitViewVisibility { get nonmutating set }

Body of the View

  • The body of the View

    Declaration

    Swift

    var body: some View { get }

MARK: Content of the View

  • The NavigationSplitView

    Declaration

    Swift

    @ViewBuilder
    var content: some View { get }

Details of the NavigationSplitView

  • The details of the NavigationSplitView

    Declaration

    Swift

    @ViewBuilder
    var details: some View { get }