Bump activesupport from 6.1.7.1 to 6.1.7.3 (#64)
Bumps activesupport from 6.1.7.1 to 6.1.7.3.
updated-dependencies:
- dependency-name: activesupport dependency-type: indirect …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Zephyr 🌬️
Effortlessly sync UserDefaults over iCloud
About
Zephyr synchronizes specific keys and/or all of your UserDefaults over iCloud using NSUbiquitousKeyValueStore.
Zephyr has built in monitoring, allowing it to sync specific keys in the background as they change.
For the latest updates, refer to the Releases tab.
Features
UserDefaults
keys or all of yourUserDefaults
.UserDefaults
andNSUbiquitousKeyValueStore
Installation Instructions
CocoaPods
Swift Package Manager
Manual
Zephyr.swift
into your project.Setup
Turn on iCloud Sync in Xcode
In Xcode, open your app’s project/workspace file:
Key-value storage
Integrate Zephyr into your App
Before performing each sync, Zephyr automatically checks to see if the data in UserDefaults or NSUbiquitousKeyValueStore is newer. To make sure there’s no overwriting going on in a fresh installation of your app on a new device that’s connected to the same iCloud account, make sure that your UserDefaults are registered BEFORE calling any of the Zephyr methods. One way to easily achieve this is by using the UserDefaults Register API.
Sync all UserDefaults
Sync a specific key or keys (Variadic Option)
Sync a specific key or keys (Array Option)
Add/Remove Keys for Background Monitoring (Variadic Option)
Add/Remove Keys for Background Monitoring (Array Option)
Toggle Automatic Calling of NSUbiquitousKeyValueStore’s Synchronization method
Debug Logging
Sample App
Please ignore the Sample App as I did not add any demo code in the Sample App. It’s only in this repo to add support for Carthage.
Created and maintained by
Arthur Ariel Sabintsev