UbiquitousCloudStoreWorker

@available(watchOS, unavailable)
internal class UbiquitousCloudStoreWorker

An interface to the NSUbiquitousKeyValueStore.

  • Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.

    Declaration

    Swift

    init()
  • A deinitializer is called immediately before a class instance is deallocated.

    Declaration

    Swift

    deinit
  • An object representing the data store manager requesting this information.

    Declaration

    Swift

    var dataStoreManager: DataStoreManager?
  • Tells the delegate that the specified storage type of a data store needs to handle when the value of one or more keys in the local key-value store changed due to incoming data pushed from iCloud.

    Declaration

    Swift

    var notificationDelegate: ((DataStoreManager, [AnyHashable : Any]?) -> Void)?
  • Undocumented

    Declaration

    Swift

    func create(object: Any, forKey key: String, completionHandler: @escaping (_ isSuccessful: Bool, _ objectID: Any?, _ error: Error?) -> Void)
  • Undocumented

    Declaration

    Swift

    func read(forKey key: String, completionHandler: @escaping (_ object: Any?, _ objectID: Any?, _ error: Error?) -> Void)
  • Undocumented

    Declaration

    Swift

    func update(object: Any, forKey key: String, completionHandler: @escaping (_ isSuccessful: Bool, _ objectID: Any?, _ error: Error?) -> Void)
  • Undocumented

    Declaration

    Swift

    func delete(forKey key: String, completionHandler: @escaping (_ isSuccessful: Bool, _ objectID: Any?, _ error: Error?) -> Void)
  • Undocumented

    Declaration

    Swift

    func deleteAll(completionHandler: @escaping (_ isSuccessful: Bool, _ objectID: Any?, _ error: Error?) -> Void)