diff --git a/Gemfile.lock b/Gemfile.lock index 0c83faa..73a21fc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,12 +9,12 @@ GEM tzinfo (~> 1.1) atomos (0.1.2) claide (1.0.2) - cocoapods (1.4.0) + cocoapods (1.5.0) activesupport (>= 4.0.2, < 5) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.4.0) + cocoapods-core (= 1.5.0) cocoapods-deintegrate (>= 1.0.2, < 2.0) - cocoapods-downloader (>= 1.1.3, < 2.0) + cocoapods-downloader (>= 1.2.0, < 2.0) cocoapods-plugins (>= 1.0.0, < 2.0) cocoapods-search (>= 1.0.0, < 2.0) cocoapods-stats (>= 1.0.0, < 2.0) @@ -24,16 +24,16 @@ GEM escape (~> 0.0.4) fourflusher (~> 2.0.1) gh_inspector (~> 1.0) - molinillo (~> 0.6.4) + molinillo (~> 0.6.5) nap (~> 1.0) ruby-macho (~> 1.1) - xcodeproj (>= 1.5.4, < 2.0) - cocoapods-core (1.4.0) + xcodeproj (>= 1.5.7, < 2.0) + cocoapods-core (1.5.0) activesupport (>= 4.0.2, < 6) fuzzy_match (~> 2.0.4) nap (~> 1.0) cocoapods-deintegrate (1.0.2) - cocoapods-downloader (1.1.3) + cocoapods-downloader (1.2.0) cocoapods-plugins (1.0.0) nap cocoapods-search (1.0.0) @@ -52,7 +52,7 @@ GEM concurrent-ruby (~> 1.0) minitest (5.11.3) molinillo (0.6.5) - nanaimo (0.2.4) + nanaimo (0.2.5) nap (1.1.0) netrc (0.11.0) ruby-macho (1.1.0) diff --git a/docs/Classes.html b/docs/Classes.html index 0f4c52e..3d9ca76 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -10,6 +10,7 @@ +
@@ -62,6 +63,15 @@

Classes

See more
+
+

Declaration

+
+

Swift

+
@objcMembers
+public final class Zephyr : NSObject
+ +
+
@@ -70,8 +80,8 @@

Classes

diff --git a/docs/Classes/Zephyr.html b/docs/Classes/Zephyr.html index b0efa91..4214c2d 100644 --- a/docs/Classes/Zephyr.html +++ b/docs/Classes/Zephyr.html @@ -41,6 +41,13 @@

Zephyr

+
+
+
@objcMembers
+public final class Zephyr : NSObject
+ +
+
@@ -49,9 +56,9 @@

Zephyr

  • - + - debugEnabled + debugEnabled
    @@ -70,7 +77,7 @@

    Zephyr

    Declaration

    Swift

    -
    public static var debugEnabled = false
    +
    public static var debugEnabled: Bool
    @@ -80,9 +87,9 @@

    Declaration

  • - + - syncUbiquitousKeyValueStoreOnChange + syncUbiquitousKeyValueStoreOnChange
    @@ -90,14 +97,14 @@

    Declaration

    -

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    +

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    Declaration

    Swift

    -
    public static var syncUbiquitousKeyValueStoreOnChange = true
    +
    public static var syncUbiquitousKeyValueStoreOnChange: Bool
    @@ -107,9 +114,9 @@

    Declaration

  • @@ -119,7 +126,7 @@

    Declaration

    Zephyr’s synchronization method.

    -

    Zephyr will synchronize all NSUserDefaults with NSUbiquitousKeyValueStore.

    +

    Zephyr will synchronize all UserDefaults with NSUbiquitousKeyValueStore.

    If one or more keys are passed, only those keys will be synchronized.

    @@ -128,7 +135,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func sync(keys: String...)
    +
    public static func sync(keys: String...)
    @@ -144,7 +151,7 @@

    Parameters

    -

    If you pass a one or more keys, only those key will be synchronized. If no keys are passed, than all NSUserDefaults will be synchronized with NSUbiquitousKeyValueStore.

    +

    If you pass a one or more keys, only those key will be synchronized. If no keys are passed, than all UserDefaults will be synchronized with NSUbiquitousKeyValueStore.

    @@ -157,9 +164,118 @@

    Parameters

  • - + - sync(keys:) + sync(keys:) + +
    +
    +
    +
    +
    +
    +

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    + +

    This method will synchronize an array of keys between UserDefaults and NSUbiquitousKeyValueStore.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sync(keys: [String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + keys + + +
    +

    An array of keys that should be synchronized between UserDefaults and NSUbiquitousKeyValueStore.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    + +

    If a custom UserDefaults object is passed in, Zephyr will synchronize that rather than UserDefaults.standard.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sync(keys: String..., userDefaults: UserDefaults = UserDefaults.standard)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + userDefaults + + +
    +

    The UserDefaults object that should be synchronized with UbiquitousKeyValueStore.default. +default value is UserDefaults.standard.

    +
    +
    + + keys + + +
    +

    If you pass a one or more keys, only those key will be synchronized. If no keys are passed, than all UserDefaults will be synchronized with NSUbiquitousKeyValueStore.

    +
    +
    +
    +
    +
    +
  • +
  • +
    @@ -167,16 +283,16 @@

    Parameters

    -

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    +

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    -

    This method will synchronize an array of keys between NSUserDefaults and NSUbiquitousKeyValueStore.

    +

    If a custom UserDefaults object is passed in, Zephyr will synchronize that rather than UserDefaults.standard.

    Declaration

    Swift

    -
    public static func sync(keys: [String])
    +
    public static func sync(keys: [String], userDefaults: UserDefaults = UserDefaults.standard)
    @@ -184,6 +300,19 @@

    Declaration

    Parameters

    + + + + @@ -205,9 +334,9 @@

    Parameters

  • @@ -223,7 +352,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func addKeysToBeMonitored(keys: [String])
    +
    public static func addKeysToBeMonitored(keys: [String])
    @@ -252,9 +381,9 @@

    Parameters

  • @@ -272,7 +401,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func addKeysToBeMonitored(keys: String...)
    +
    public static func addKeysToBeMonitored(keys: String...)
    @@ -301,9 +430,9 @@

    Parameters

  • @@ -318,7 +447,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func removeKeysFromBeingMonitored(keys: [String])
    +
    public static func removeKeysFromBeingMonitored(keys: [String])
    @@ -347,9 +476,9 @@

    Parameters

  • @@ -366,7 +495,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func removeKeysFromBeingMonitored(keys: String...)
    +
    public static func removeKeysFromBeingMonitored(keys: String...)
    @@ -395,6 +524,13 @@

    Parameters

    +
    • @@ -411,6 +547,14 @@

      Parameters

      +
      +

      Declaration

      +
      +

      Swift

      +
      public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
      + +
      +
    • @@ -419,8 +563,8 @@

      Parameters

    diff --git a/docs/badge.svg b/docs/badge.svg index 2606d80..a096fec 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -1 +1,28 @@ -documentationdocumentation100%100% \ No newline at end of file + + + + + + + + + + + + + + + + documentation + + + documentation + + + 100% + + + 100% + + + diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes.html index 0f4c52e..3d9ca76 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes.html @@ -10,6 +10,7 @@ +
    @@ -62,6 +63,15 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objcMembers
    +public final class Zephyr : NSObject
    + +
    +
  • @@ -70,8 +80,8 @@

    Classes

    diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Zephyr.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Zephyr.html index b0efa91..4214c2d 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Zephyr.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Zephyr.html @@ -41,6 +41,13 @@

    Zephyr

    +
    +
    +
    @objcMembers
    +public final class Zephyr : NSObject
    + +
    +
    @@ -49,9 +56,9 @@

    Zephyr

  • @@ -70,7 +77,7 @@

    Zephyr

    Declaration

    Swift

    -
    public static var debugEnabled = false
    +
    public static var debugEnabled: Bool
    @@ -80,9 +87,9 @@

    Declaration

  • @@ -90,14 +97,14 @@

    Declaration

    -

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    +

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    Declaration

    Swift

    -
    public static var syncUbiquitousKeyValueStoreOnChange = true
    +
    public static var syncUbiquitousKeyValueStoreOnChange: Bool
    @@ -107,9 +114,9 @@

    Declaration

  • @@ -119,7 +126,7 @@

    Declaration

    Zephyr’s synchronization method.

    -

    Zephyr will synchronize all NSUserDefaults with NSUbiquitousKeyValueStore.

    +

    Zephyr will synchronize all UserDefaults with NSUbiquitousKeyValueStore.

    If one or more keys are passed, only those keys will be synchronized.

    @@ -128,7 +135,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func sync(keys: String...)
    +
    public static func sync(keys: String...)
    @@ -144,7 +151,7 @@

    Parameters

  • @@ -157,9 +164,118 @@

    Parameters

  • - + - sync(keys:) + sync(keys:) + +
    +
    +
    +
    +
    +
    +

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    + +

    This method will synchronize an array of keys between UserDefaults and NSUbiquitousKeyValueStore.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sync(keys: [String])
    + +
    +
    +
    +

    Parameters

    +
  • + + userDefaults + + +
    +

    The UserDefaults object that should be synchronized with UbiquitousKeyValueStore.default +default value is UserDefaults.standard

    +
    +
    @@ -192,7 +321,7 @@

    Parameters

    -

    An array of keys that should be synchronized between NSUserDefaults and NSUbiquitousKeyValueStore.

    +

    An array of keys that should be synchronized between UserDefaults and NSUbiquitousKeyValueStore.

    -

    If you pass a one or more keys, only those key will be synchronized. If no keys are passed, than all NSUserDefaults will be synchronized with NSUbiquitousKeyValueStore.

    +

    If you pass a one or more keys, only those key will be synchronized. If no keys are passed, than all UserDefaults will be synchronized with NSUbiquitousKeyValueStore.

    + + + + + + +
    + + keys + + +
    +

    An array of keys that should be synchronized between UserDefaults and NSUbiquitousKeyValueStore.

    +
    +
    +
    +
  • +
    +
  • +
  • +
    + + + + sync(keys:userDefaults:) + +
    +
    +
    +
    +
    +
    +

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    + +

    If a custom UserDefaults object is passed in, Zephyr will synchronize that rather than UserDefaults.standard.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func sync(keys: String..., userDefaults: UserDefaults = UserDefaults.standard)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + userDefaults + + +
    +

    The UserDefaults object that should be synchronized with UbiquitousKeyValueStore.default. +default value is UserDefaults.standard.

    +
    +
    + + keys + + +
    +

    If you pass a one or more keys, only those key will be synchronized. If no keys are passed, than all UserDefaults will be synchronized with NSUbiquitousKeyValueStore.

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + sync(keys:userDefaults:)
    @@ -167,16 +283,16 @@

    Parameters

    -

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    +

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    -

    This method will synchronize an array of keys between NSUserDefaults and NSUbiquitousKeyValueStore.

    +

    If a custom UserDefaults object is passed in, Zephyr will synchronize that rather than UserDefaults.standard.

    Declaration

    Swift

    -
    public static func sync(keys: [String])
    +
    public static func sync(keys: [String], userDefaults: UserDefaults = UserDefaults.standard)
    @@ -184,6 +300,19 @@

    Declaration

    Parameters

    + + + + @@ -205,9 +334,9 @@

    Parameters

  • @@ -223,7 +352,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func addKeysToBeMonitored(keys: [String])
    +
    public static func addKeysToBeMonitored(keys: [String])
    @@ -252,9 +381,9 @@

    Parameters

  • @@ -272,7 +401,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func addKeysToBeMonitored(keys: String...)
    +
    public static func addKeysToBeMonitored(keys: String...)
    @@ -301,9 +430,9 @@

    Parameters

  • @@ -318,7 +447,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func removeKeysFromBeingMonitored(keys: [String])
    +
    public static func removeKeysFromBeingMonitored(keys: [String])
    @@ -347,9 +476,9 @@

    Parameters

  • @@ -366,7 +495,7 @@

    Parameters

    Declaration

    Swift

    -
    public static func removeKeysFromBeingMonitored(keys: String...)
    +
    public static func removeKeysFromBeingMonitored(keys: String...)
    @@ -395,6 +524,13 @@

    Parameters

    +
    • @@ -411,6 +547,14 @@

      Parameters

      +
      +

      Declaration

      +
      +

      Swift

      +
      public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
      + +
      +
    • @@ -419,8 +563,8 @@

      Parameters

    diff --git a/docs/docsets/.docset/Contents/Resources/Documents/index.html b/docs/docsets/.docset/Contents/Resources/Documents/index.html index dc84c13..2b006b5 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/index.html @@ -45,8 +45,8 @@

    Authors

    diff --git a/docs/docsets/.docset/Contents/Resources/Documents/search.json b/docs/docsets/.docset/Contents/Resources/Documents/search.json index 9ab5998..88847a8 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Classes/Zephyr.html#/s:6ZephyrAAC12debugEnabledSbvZ":{"name":"debugEnabled","abstract":"

    A debug flag.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC35syncUbiquitousKeyValueStoreOnChangeSbvZ":{"name":"syncUbiquitousKeyValueStoreOnChange","abstract":"

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySaySSG4keysd_tFZ":{"name":"sync(keys:)","abstract":"

    Zephyr’s synchronization method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySaySSG4keys_tFZ":{"name":"sync(keys:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC20addKeysToBeMonitoredySaySSG4keys_tFZ":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Add specific keys to be monitored in the background. Monitored keys will automatically","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC20addKeysToBeMonitoredySaySSG4keysd_tFZ":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Overloaded version of the addKeysToBeMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC28removeKeysFromBeingMonitoredySaySSG4keys_tFZ":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Remove specific keys from being monitored in the background.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC28removeKeysFromBeingMonitoredySaySSG4keysd_tFZ":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Overloaded version of the removeKeysFromBeingMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@CM@Zephyr@objc(cs)Zephyr(im)observeValueForKeyPath:ofObject:change:context:":{"name":"observeValue(forKeyPath:of:change:context:)","parent_name":"Zephyr"},"Classes/Zephyr.html":{"name":"Zephyr"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file +{"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cpy)debugEnabled":{"name":"debugEnabled","abstract":"

    A debug flag.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cpy)syncUbiquitousKeyValueStoreOnChange":{"name":"syncUbiquitousKeyValueStoreOnChange","abstract":"

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySS4keysd_tFZ":{"name":"sync(keys:)","abstract":"

    Zephyr’s synchronization method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)syncWithKeys:":{"name":"sync(keys:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySS4keysd_So12UserDefaultsC04userE0tFZ":{"name":"sync(keys:userDefaults:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)syncWithKeys:userDefaults:":{"name":"sync(keys:userDefaults:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)addKeysToBeMonitoredWithKeys:":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Add specific keys to be monitored in the background. Monitored keys will automatically","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC20addKeysToBeMonitoredySS4keysd_tFZ":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Overloaded version of the addKeysToBeMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)removeKeysFromBeingMonitoredWithKeys:":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Remove specific keys from being monitored in the background.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC28removeKeysFromBeingMonitoredySS4keysd_tFZ":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Overloaded version of the removeKeysFromBeingMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@CM@Zephyr@objc(cs)Zephyr(im)observeValueForKeyPath:ofObject:change:context:":{"name":"observeValue(forKeyPath:of:change:context:)","parent_name":"Zephyr"},"Classes/Zephyr.html":{"name":"Zephyr"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/.docset/Contents/Resources/docSet.dsidx b/docs/docsets/.docset/Contents/Resources/docSet.dsidx index 1f213e7..3978922 100644 Binary files a/docs/docsets/.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/.tgz b/docs/docsets/.tgz index 8723701..4aa2ff5 100644 Binary files a/docs/docsets/.tgz and b/docs/docsets/.tgz differ diff --git a/docs/index.html b/docs/index.html index dc84c13..2b006b5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -45,8 +45,8 @@

    Authors

    diff --git a/docs/search.json b/docs/search.json index 9ab5998..88847a8 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Classes/Zephyr.html#/s:6ZephyrAAC12debugEnabledSbvZ":{"name":"debugEnabled","abstract":"

    A debug flag.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC35syncUbiquitousKeyValueStoreOnChangeSbvZ":{"name":"syncUbiquitousKeyValueStoreOnChange","abstract":"

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySaySSG4keysd_tFZ":{"name":"sync(keys:)","abstract":"

    Zephyr’s synchronization method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySaySSG4keys_tFZ":{"name":"sync(keys:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC20addKeysToBeMonitoredySaySSG4keys_tFZ":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Add specific keys to be monitored in the background. Monitored keys will automatically","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC20addKeysToBeMonitoredySaySSG4keysd_tFZ":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Overloaded version of the addKeysToBeMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC28removeKeysFromBeingMonitoredySaySSG4keys_tFZ":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Remove specific keys from being monitored in the background.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC28removeKeysFromBeingMonitoredySaySSG4keysd_tFZ":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Overloaded version of the removeKeysFromBeingMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@CM@Zephyr@objc(cs)Zephyr(im)observeValueForKeyPath:ofObject:change:context:":{"name":"observeValue(forKeyPath:of:change:context:)","parent_name":"Zephyr"},"Classes/Zephyr.html":{"name":"Zephyr"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file +{"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cpy)debugEnabled":{"name":"debugEnabled","abstract":"

    A debug flag.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cpy)syncUbiquitousKeyValueStoreOnChange":{"name":"syncUbiquitousKeyValueStoreOnChange","abstract":"

    If true, then NSUbiquitousKeyValueStore.synchronize() will be called immediately after any change is made.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySS4keysd_tFZ":{"name":"sync(keys:)","abstract":"

    Zephyr’s synchronization method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)syncWithKeys:":{"name":"sync(keys:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC4syncySS4keysd_So12UserDefaultsC04userE0tFZ":{"name":"sync(keys:userDefaults:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)syncWithKeys:userDefaults:":{"name":"sync(keys:userDefaults:)","abstract":"

    Overloaded version of Zephyr’s synchronization method, sync(keys:).

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)addKeysToBeMonitoredWithKeys:":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Add specific keys to be monitored in the background. Monitored keys will automatically","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC20addKeysToBeMonitoredySS4keysd_tFZ":{"name":"addKeysToBeMonitored(keys:)","abstract":"

    Overloaded version of the addKeysToBeMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@M@Zephyr@objc(cs)Zephyr(cm)removeKeysFromBeingMonitoredWithKeys:":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Remove specific keys from being monitored in the background.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/s:6ZephyrAAC28removeKeysFromBeingMonitoredySS4keysd_tFZ":{"name":"removeKeysFromBeingMonitored(keys:)","abstract":"

    Overloaded version of the removeKeysFromBeingMonitored(keys:) method.

    ","parent_name":"Zephyr"},"Classes/Zephyr.html#/c:@CM@Zephyr@objc(cs)Zephyr(im)observeValueForKeyPath:ofObject:change:context:":{"name":"observeValue(forKeyPath:of:change:context:)","parent_name":"Zephyr"},"Classes/Zephyr.html":{"name":"Zephyr"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "}} \ No newline at end of file
  • + + userDefaults + + +
    +

    The UserDefaults object that should be synchronized with UbiquitousKeyValueStore.default +default value is UserDefaults.standard

    +
    +
    @@ -192,7 +321,7 @@

    Parameters

    -

    An array of keys that should be synchronized between NSUserDefaults and NSUbiquitousKeyValueStore.

    +

    An array of keys that should be synchronized between UserDefaults and NSUbiquitousKeyValueStore.