This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
Releases: ArtSabintsev/Zephyr
Releases · ArtSabintsev/Zephyr
1.4.1
Monitored keys are now synced to the cloud on a background thread.
1.4.0
- Exposed
syncUbiquitousStoreKeyValueStoreOnChange
, which controls ifNSUbiquitousKeyValueStore
should callsynchronize
immediately. It is set totrue
by default to mimic previous behavior. - Added notification handling for
UIApplicationWillEnterForegroundNotification
Thanks to @davehakim for this update in PR #1.
Spelling is hard
Fixed a spelling issue.
1.3.0
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
Removed extraneous [
from printKeySyncStatus() string.
1.2.1
Fixed issue with printGeneralSyncStatus() printing out the wrong status.
Quality of Life Changes
- 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
Improved logging (must set debugEnabled = true)
1.1.1
Added public access modifier to those methods variables that were missing it.
1.1.0
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