MainView
struct MainView: View
SwiftUI View
for the main content
-
The observable state of the application
Declaration
Swift
private var appState
-
The state of the scene
Declaration
Swift
private var sceneState = SceneStateModel(id: .mainView)
-
The observable
FileBrowser
classDeclaration
Swift
private var fileBrowser
-
The ChordPro document
Declaration
Swift
var document: ChordProDocument
-
The optional file location
Declaration
Swift
let file: URL?
-
The body of the
View
Declaration
Swift
var body: some View
-
The main of the
View
Declaration
Swift
var main: some View
-
Render the song
Declaration
Swift
private func renderSong() async