MainView
struct MainView : View
SwiftUI View for the main navigation (macOS +iOS)
Note
tvOS has its ownView
-
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 }
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
-
The
NavigationSplitViewDeclaration
Swift
@ViewBuilder var content: some View { get }
-
The details of the
NavigationSplitViewDeclaration
Swift
@ViewBuilder var details: some View { get }
View on GitHub
MainView Structure Reference