FileStorageController
class FileStorageController
Undocumented
-
Gets the base URL for storing files
Declaration
Swift
static func getFileStorageURL() -> URLReturn Value
the computed database file path
-
Undocumented
Declaration
Swift
static func getURLForFile(withUUID uuid: String) -> URL -
Undocumented
Declaration
Swift
static func exists(withUUID uuid: String) -> Bool -
Undocumented
Declaration
Swift
static func getData(fromFileForUUID uuid: String) -> Data? -
Undocumented
Declaration
Swift
static func writeData(_ data: Data, toFileForUUID uuid: String) throws -
Undocumented
Declaration
Swift
static func deleteFile(withUUID uuid: String) throws -
Undocumented
Declaration
Swift
static func getImage(fromFileForUUID uuid: String) -> UIImage? -
Undocumented
Declaration
Swift
static func getDownsampledImage( fromFileForUUID uuid: String, maxDimension: CGFloat ) -> UIImage? -
Undocumented
Declaration
Swift
static func deleteFolder(named folderName: String) throws -
Undocumented
Declaration
Swift
static func deleteFile(at url: URL) throws
FileStorageController Class Reference