Directory
public enum Directory
Directory to save data
-
Only documents and other data that is user-generated, should be stored in the Documents directory and will be automatically backed up by iCloud.
Declaration
Swift
case documents(customDirectory: String?)
-
Data that can be downloaded again or regenerated should be stored in the Caches directory.
Declaration
Swift
case caches(customDirectory: String?)
-
Data that is user-generated should be stored in the Library directory.
Declaration
Swift
case library(customDirectory: String?)