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 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 is correct

    Declaration

    Swift

    case correct
  • 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

Protocol items

  • The description of the status

    Declaration

    Swift

    public var description: String
  • The error description of the status

    Declaration

    Swift

    public var errorDescription: String?
  • The recovery suggestion of the status

    Declaration

    Swift

    public var recoverySuggestion: String?

Custom

  • The color for a label

    Declaration

    Swift

    public var color: Color