DiskCache

public class DiskCache<Element> : CacheProtocol where Element : NSCoding

Undocumented

  • Undocumented

    Declaration

    Swift

    public let directory: String
  • Undocumented

    Declaration

    Swift

    public init?(directory: String)
  • Undocumented

    Declaration

    Swift

    public subscript(key: String) -> Element? { get set }
  • Undocumented

    Declaration

    Swift

    public func get(key: String, completion: @escaping ((Element?) -> Void))
  • Undocumented

    Declaration

    Swift

    public func set(key: String, value: Element, expiration: TimeInterval?, completion: (() -> Void)?)
  • Undocumented

    Declaration

    Swift

    public func set(key: String, value: Element, completion: (() -> Void)?)
  • Undocumented

    Declaration

    Swift

    public func remove(key: String, completion: (() -> Void)?)
  • Undocumented

    Declaration

    Swift

    public func removeAll(completion: (() -> Void)?)