SceneState

final class SceneState : ObservableObject

The observable scene state for Chord Provider

  • The current Song

    Declaration

    Swift

    @Published
    var song: Song { get set }
  • The selection in the editor

    Declaration

    Swift

    @Published
    var selection: NSRange { get set }
  • The NSTextView of the editor

    Declaration

    Swift

    var textView: SWIFTTextView?
  • Bool to show the print dialog

    Declaration

    Swift

    @Published
    var showPrintDialog: Bool { get set }