github.com/evermeer/EVCloudKitDao

Simplified access to Apple's CloudKit

Open this visualization on its own page →

Contributors

10

Lines of Code

1,430

From

2014-07-22

To

2019-08-06

About evermeer/EVCloudKitDao

EVCloudKitDao is a Swift library that simplifies access to Apple's CloudKit framework, enabling developers to use iCloud for data storage, authentication, and notifications without building server-side infrastructure. The library provides three main components: EVCloudKitDao for direct database access with fine-grained control over data and notifications, EVCloudData for high-level CloudKit interactions with automatic data caching and memory management, and EVglobal for utility functions like enhanced logging. All functionality is built on top of the EVReflection library, which handles automatic object-to-CloudKit record mapping using reflection.

The project includes a comprehensive demo app called AppMessage that demonstrates the library's capabilities through a fully functional messaging application with features like news feeds, contact syncing, text and image chat, location sharing, and asynchronous message search. The library handles the complexities of CloudKit operations including query handling, subscription management, push notification processing, batch operations, and asset storage, while allowing developers to work with standard Swift objects instead of manually parsing CKRecord objects.

EVCloudKitDao is designed for iOS 8.0 and later and is distributed through CocoaPods. The library is particularly useful for developers building iCloud-enabled iOS apps who want to avoid the boilerplate code typically required for CloudKit integration, though users should be aware of a few Swift-specific limitations around optional property types and the need to handle CKReference fields carefully in predicates.

Share this video