ChordProviderApp
struct ChordProviderApp: App
SwiftUI Scene
for Chord Provider
-
The observable state of the application
Declaration
Swift
private var appState = AppStateModel(id: .mainView)
-
The observable state of the file browser
Declaration
Swift
private var fileBrowser = FileBrowserModel()
-
The
AppDelegate
class for Chord ProviderDeclaration
Swift
private var appDelegate: AppDelegate
-
Environment to open windows
Declaration
Swift
private var openWindow
-
Environment to dismiss windows
Declaration
Swift
private var dismissWindow
-
The body of the
Scene
Declaration
Swift
var body: some Scene
-
More or less center a window
Declaration
Swift
func centerWindow(content: WindowLayoutRoot, context: WindowPlacementContext) -> WindowPlacement