MainView
struct MainView : View
SwiftUI View
for the main content
-
The app state
Declaration
Swift
@Environment private var appState: AppState { get }
-
The scene state
Declaration
Swift
@Environment private var sceneState: SceneState { get }
-
The observable
FileBrowser
classDeclaration
Swift
@Environment private var fileBrowser: FileBrowser { get }
-
The ChordPro document
Declaration
Swift
@Binding var document: ChordProDocument { get nonmutating set }
-
Chord Display Options
Declaration
Swift
@Environment private var chordDisplayOptions: ChordDisplayOptions { get }
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
Render the song
Declaration
Swift
@MainActor private func renderSong()