Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Releases: ArtSabintsev/Zephyr

1.4.1

01 Dec 18:20
Compare
Choose a tag to compare

Monitored keys are now synced to the cloud on a background thread.

1.4.0

24 Nov 18:05
Compare
Choose a tag to compare
  • Exposed syncUbiquitousStoreKeyValueStoreOnChange, which controls if NSUbiquitousKeyValueStore should call synchronize immediately. It is set to true by default to mimic previous behavior.
  • Added notification handling for UIApplicationWillEnterForegroundNotification

Thanks to @davehakim for this update in PR #1.

Spelling is hard

24 Nov 15:42
Compare
Choose a tag to compare

Fixed a spelling issue.

1.3.0

24 Nov 04:31
Compare
Choose a tag to compare

There was an issue involving monitored keys not being synced from iCloud. I wrongly assumed that NSUbiquitousKeyValueStore could subscribe to key-value observation, just as NSUserDefaults. I switched the NSNotificationCenter paradigm and things seem to work.

1.2.2

06 Nov 19:03
Compare
Choose a tag to compare

Removed extraneous [ from printKeySyncStatus() string.

1.2.1

06 Nov 18:52
Compare
Choose a tag to compare

Fixed issue with printGeneralSyncStatus() printing out the wrong status.

Quality of Life Changes

06 Nov 07:14
Compare
Choose a tag to compare
  • Overloaded variadic sync(_:) method with a method that takes an array of strings.
  • Overloaded variadic addKeysToBeMonitored(_:) method with a method that takes an array of strings.
  • Overloaded variadic removeKeysFromBeingMonitored(_:) method with a method that takes an array of strings.
  • Fixed bug with removeKeysFromBeingMonitored(_:), as it was removing all keys.
  • Improved monitoring by creating a second, private array, that keeps track of currently registered observers.
  • Greatly abstracted logging system.
  • Fixed documentation on certain comments.

1.1.2

06 Nov 05:53
Compare
Choose a tag to compare

Improved logging (must set debugEnabled = true)

1.1.1

05 Nov 17:08
Compare
Choose a tag to compare

Added public access modifier to those methods variables that were missing it.

1.1.0

05 Nov 07:25
Compare
Choose a tag to compare
  • sync() now takes a variadic parameter of type String. If you don't need to use it, just call Zephyr.sync()
  • Non-nil values for specific key synchronizations are now synced to/from iCloud
  • Added a lot more documentation
  • Cleaned up code
  • Updated README