CacheManager
public class CacheManager : NSObject
缓存管理器
-
自定义缓存创建句柄,默认nil
Declaration
Swift
public static var factoryBlock: ((CacheType) -> CacheProtocol?)?
-
获取指定类型的缓存单例对象
Declaration
Swift
public static func manager(type: CacheType) -> CacheProtocol?