ChordProviderApp

@main
struct ChordProviderApp : App

SwiftUI Scene for Chord Provider

  • Declaration

    Swift

    @StateObject
    private var fileBrowser: FileBrowser { get }
  • The welcome view setting

    Declaration

    Swift

    @AppStorage
    var hideWelcome: Bool { get nonmutating set }
  • Default Chord Display Options

    Declaration

    Swift

    static let defaults: ChordDefinition.DisplayOptions
  • Chord Display Options

    Declaration

    Swift

    @StateObject
    private var chordDisplayOptions: ChordDisplayOptions { get }

macOS

  • AppKit app delegate

    Declaration

    Swift

    @NSApplicationDelegateAdaptor
    private var appDelegate: AppDelegate { get }
  • The body of the Scene

    Declaration

    Swift

    var body: some Scene { get }

iPadOS

  • Add Chord Provider to the Menu Bar