A lightweight Swift library that synchronizes UserDefaults over iCloud with background monitoring.
Zephyr is a Swift library that synchronizes UserDefaults over iCloud using NSUbiquitousKeyValueStore. It solves the problem of keeping app preferences and state consistent across multiple iOS and tvOS devices, automating the sync process so developers don't have to write custom iCloud integration code.
iOS and tvOS developers building apps that need to share user settings or app state across devices linked to the same iCloud account.
Developers choose Zephyr for its dead-simple API, automatic background monitoring, and reliability—it handles the complexities of iCloud sync so they can focus on building features rather than reinventing sync logic.
Effortlessly synchronize UserDefaults over iCloud.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows fine-grained synchronization by specifying individual keys or groups, preventing unnecessary data transfer, as shown in the sync(keys:) API examples.
Continuously watches for changes to monitored keys and syncs them in real-time, eliminating manual update calls and ensuring consistency across devices.
Compatible with Swift versions from 3.1 to 5.3+, with dedicated branches for each, making it adaptable for legacy and modern projects alike.
Supports CocoaPods, Swift Package Manager, and manual installation, providing flexibility for different project setups without lock-in.
Sync functionality is entirely dependent on iCloud, which can fail due to network issues, user settings, or Apple's service outages, making it unsuitable for all scenarios.
Only synchronizes data types compatible with UserDefaults (e.g., strings, numbers), excluding complex objects or custom classes without additional serialization work.
Exclusively designed for iOS and tvOS, with no support for other Apple platforms like macOS or watchOS, limiting its use in broader cross-platform apps.
Requires manual Xcode configuration for iCloud Key-Value Store, which can be cumbersome and error-prone for developers unfamiliar with iCloud setup steps.