DefaultLocalDataStore

@objc
public class DefaultLocalDataStore : NSObject, LocalDataStore

Implementation of LocalDataStore that saves data to files in the Library directory.

  • Undocumented

    Declaration

    Swift

    @objc
    public static func defaultDataStore() -> DefaultLocalDataStore?
  • Undocumented

    Declaration

    Swift

    @objc
    public init(directory: FileManager.SearchPathDirectory) throws
  • Undocumented

    Declaration

    Swift

    @objc
    public func save(key: String, value: Data) throws
  • Undocumented

    Declaration

    Swift

    @objc
    public func load(key: String) throws -> Data
  • Undocumented

    Declaration

    Swift

    @objc
    public func exists(key: String) -> Bool
  • Undocumented

    Declaration

    Swift

    @objc
    public func remove(key: String) throws