ContentView

struct ContentView : View

SwiftUI View for the content

  • The ChordPro document

    Declaration

    Swift

    @Binding
    var document: ChordProDocument { get nonmutating set }
  • The optional file location

    Declaration

    Swift

    let file: URL?
  • The state of the scene

    Declaration

    Swift

    @StateObject
    private var sceneState: SceneState { get }
  • Chord Display Options

    Declaration

    Swift

    @EnvironmentObject
    private var chordDisplayOptions: ChordDisplayOptions { get }
  • Show settings (not for macOS)

    Declaration

    Swift

    @State
    private var showSettings: Bool { get nonmutating set }
  • The body of the View

    Declaration

    Swift

    var body: some View { get }