Status

enum Status : String, LocalizedError

The status of a song

  • The song was not found

    Declaration

    Swift

    case songNotFound
  • The song is not yet downloaded

    Declaration

    Swift

    case songNotDownloaded
  • There is no folder with songs selected

    Declaration

    Swift

    case noFolderSelected
  • The song is ready

    Declaration

    Swift

    case ready
  • An unknown status

    Declaration

    Swift

    case unknown

Protocol items

  • The description of the status

    Declaration

    Swift

    public var description: String { get }
  • The error description of the status

    Declaration

    Swift

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

    Declaration

    Swift

    var recoverySuggestion: String? { get }
  • The help anchor of the status

    Note

    Used as the label button for an alert or confirmation dialog

    Declaration

    Swift

    var helpAnchor: String? { get }

Custom items

  • The icon of the status

    Declaration

    Swift

    var icon: Image { get }

Static help

  • Static help message for the folder selector

    Declaration

    Swift

    static let help: String
  • Static help message for the file browser

    Declaration

    Swift

    static let browser: String