This repository has been archived by the owner on Dec 17, 2018. It is now read-only.
Releases: Sorix/CloudCore
Releases · Sorix/CloudCore
Modifiable CKContainer
- Add a custom CKContainer so that Core Data can sync between an iOS app and a Mac app (#20), by @blwinters
2.0.0
New features
- Existing data will be automatically uploaded if CloudKit doesn't exists (fix #9)
- Framework now handles next CloudKit errors:
userDeletedZone
: all local cached Core Data will removed (user asked to purge data)zoneNotFound
: existing data will be automatically uploaded to CloudKitchangeTokenExpired
: tokens will be reset and all data downloaded againisMore
: if you fetch a lot of data from Cloud, fetch requests will be divided to several ones
- Sync status and errors are reported to
CloudCoreDelegate
instead of notifications, it's more Swift way.
Improvements
- Changed API calls (check changes at CloudCore), that version is not compatible with
1.x
- Numerous bug fixes (really, alpha version wasn't usable)
- More clean folder structure
- Documented 100% of public methods and variables.
- Combined all targets to one multiplatform target. Thanks for that guide.
Removed
- Removed Swift Package Manager support, because it doesn't well support manager for iOS & macOS applications.
- Notifications removed, use delegate.
New example application
Absolutely new example application with more realistic use cases. All changes can be made by pressing Edit button, and it will be saved when you click Done.
Fix relationship-to-many, improve tests
1.0.0: Update to Swift 4, always sync on startup (#6)
Now you need to use `CloudCore.fetchAndSave(container: persistentContainer, error: nil, completion: nil)` on application start-up to perform initial sync.
Improve SetupOperation
- Open
SetupOperation
to public - Improve
SetupOperation
logic - Fix #2
Documentation updates
0.1.1 Documentation migration (#1)
Initial release
0.1 Initial release (0.1, alpha)