APCacheManager
@objc
public class APCacheManager : NSObject
Undocumented
-
Undocumented
Declaration
Swift
static let urlCache: URLCache -
-
Undocumented
Declaration
Swift
@objc public static let shared: APCacheManager -
Undocumented
Declaration
Swift
private var fileCompletions: [APFileLoadingCompletion]
-
Undocumented
Declaration
Swift
private override init()
-
Undocumented
Declaration
Swift
@objc public func saveObjectToCache(_ object: JsonSerializableProtocol, identifier: String?) -
Undocumented
Declaration
Swift
@objc public func loadObjectFromCache(forClass classType: AnyClass, identifier: String?) -> JsonSerializableProtocol? -
Undocumented
Declaration
Swift
@objc public func deleteObjectFromCache(_ object: JsonSerializableProtocol, identifier: String?) -
Undocumented
Declaration
Swift
@objc public func getLocalPath(forUrlString urlString: String, useMd5UrlFilename: Bool) -> URL? -
Undocumented
Declaration
Swift
@objc public func getLocalPath(forUrlString urlString: String) -> URL? -
Undocumented
Declaration
Swift
@objc public func download(urlString: String, completion: ((_ success: Bool) -> Void)?) -
Undocumented
Declaration
Swift
public func download(file: APFile, completion: ((_ success: Bool) -> Void)?) -
Undocumented
Declaration
Swift
func synchronized(lock: AnyObject, block: () throws -> Void) rethrows -
Undocumented
Declaration
Swift
func getFileCompletionFromArray(file: APFile) -> APFileLoadingCompletion?