Swiftpack.co - ivalx1s/cdkvfacade-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ivalx1s.
ivalx1s/cdkvfacade-ios 0.1.0
A simple facade for CoreData with built-in Key-Value storage implementation. Syncs nicely with CloudKit through NSPersistentCloudKitContainer.
⭐️ 1
🕓 5 days ago
iOS macOS
.package(url: "https://github.com/ivalx1s/cdkvfacade-ios.git", from: "0.1.0")

CoreDataKVFacade

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

CDKVFacadeSample

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 -> com.apple.developer.icloud-container-identifiers
Root -> settings -> base -> PROJECT_BUNDLE_ID_PREFIX

Use Xcodegen to generate the Xcode project:

cd path/to/package/directory
./.xcgen

ToDo:

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

GitHub

link
Stars: 1
Last commit: 2 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

5 days ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics