A simple facade for CoreData with built-in Key-Value storage implementation. Syncs nicely with CloudKit through NSPersistentCloudKitContainer.


A sample app that demostrates the use of the facade.

Edit CDKVFacadeSample.xcodeprojless manifest to specify:

  • your Development Team ID
  • random iCloud container
  • random boundle identifier
Root -> settings -> base -> DEVELOPMENT_TEAM
Root -> targets -> app-ios -> entitlements -> properties ->
Root -> settings -> base -> PROJECT_BUNDLE_ID_PREFIX

Use Xcodegen to generate the Xcode project:

cd path/to/package/directory


  • observe db changes to propagate updates to UI in real time
  • background updates


View Github