ChordsDatabaseStateModel
final class ChordsDatabaseStateModel
The observable chords database state for Chord Provider
-
All the chords for the current instrument
Declaration
Swift
var allChords: [ChordDefinition] = []
-
The filtered chords as shown in a grid
Declaration
Swift
var chords: [ChordDefinition] = []
-
The optional search string
Declaration
Swift
var search: String = ""
-
Bool to show the file exporter dialog
Declaration
Swift
var showExportSheet: Bool = false
-
The JSON data of the chord definitions
Declaration
Swift
var exportData: String = ""
-
The Navigation stack path
Declaration
Swift
var navigationStack: [ChordDefinition] = []