BaseDirectory

public enum BaseDirectory

Common places for files

  • Temp: Temp Directory
  • Documents: Documents Directory
  • Resources: Resources Directory (Shouldn’t be used for writing / recording files)
  • Custom: The same directory as the input file. This is mainly for OS X projects.
  • Temporary directory

    Declaration

    Swift

    case temp
  • Documents directory

    Declaration

    Swift

    case documents
  • Resources directory

    Declaration

    Swift

    case resources
  • Same directory as the input file

    Declaration

    Swift

    case custom