Status
enum Status: String, LocalizedError
Status of the ChordDefinition
-
A standard chord from the database
Declaration
Swift
case standardChord -
A transposed chord
Declaration
Swift
case transposedChord -
A transposed chord that is unknown
Declaration
Swift
case transposedUnknownChord -
A custom defined chord
Declaration
Swift
case customChord -
A custom defined chord that is transposed
Declaration
Swift
case customTransposedChord -
An unknown chord
Declaration
Swift
case unknownChord -
The definition has too many frets
Declaration
Swift
case toManyFrets -
The definition has not enough frets
Declaration
Swift
case notEnoughFrets -
The definition has a wrong bass note
Declaration
Swift
case wrongBassNote -
The definition has a wrong root note
Declaration
Swift
case wrongRootNote -
The definition contains wrong notes
Declaration
Swift
case wrongNotes -
The definition contains wrong fingers
Declaration
Swift
case wrongFingers -
The definition is a copy of another definition
Declaration
Swift
case chordIsCopy -
There are no chords defined
Declaration
Swift
case noChordsDefined -
The definition is correct
Declaration
Swift
case correct -
Add a definition
Declaration
Swift
case addDefinition = "Add chord definition" -
Edit a definition
Declaration
Swift
case editDefinition = "Edit chord definition"
-
The description of the status
Declaration
Swift
var description: String -
The error description of the status
Declaration
Swift
var errorDescription: String? -
The recovery suggestion of the status
Declaration
Swift
var recoverySuggestion: String?
-
Bool if the chord is considered ‘known’
Declaration
Swift
var knownChord: Bool -
The color for a label
Declaration
Swift
var color: Color
View on GitHub