FileCategory

public enum FileCategory : CustomStringConvertible, JSONRepresentable

The FileCategory union

  • jpg, png, gif, and more.

    Declaration

    Swift

    case image
  • doc, docx, txt, and more.

    Declaration

    Swift

    case document
  • pdf

    pdf.

    Declaration

    Swift

    case pdf
  • xlsx, xls, csv, and more.

    Declaration

    Swift

    case spreadsheet
  • ppt, pptx, key, and more.

    Declaration

    Swift

    case presentation
  • mp3, wav, mid, and more.

    Declaration

    Swift

    case audio
  • mov, wmv, mp4, and more.

    Declaration

    Swift

    case video
  • dropbox folder.

    Declaration

    Swift

    case folder
  • dropbox paper doc.

    Declaration

    Swift

    case paper
  • any file not in one of the categories above.

    Declaration

    Swift

    case others
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }