Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Releases: Sorix/CloudCore

Modifiable CKContainer

03 Feb 16:45
Compare
Choose a tag to compare
  • Add a custom CKContainer so that Core Data can sync between an iOS app and a Mac app (#20), by @blwinters

2.0.0

25 Dec 21:42
219194e
Compare
Choose a tag to compare

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 CloudKit
    • changeTokenExpired: tokens will be reset and all data downloaded again
    • isMore: 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.

screen shot 2017-12-14 at 23 19 42

Fix relationship-to-many, improve tests

29 Nov 17:46
ae9094a
Compare
Choose a tag to compare
  • Fix relationship-to-many errors (#11)
  • Add CloudKit tests (#12)

1.0.0: Update to Swift 4, always sync on startup (#6)

27 Sep 19:57
Compare
Choose a tag to compare
Now you need to use `CloudCore.fetchAndSave(container: persistentContainer, error: nil, completion: nil)` on application start-up to perform initial sync.

Improve SetupOperation

26 Apr 08:58
Compare
Choose a tag to compare
Pre-release
  • Open SetupOperation to public
  • Improve SetupOperation logic
  • Fix #2

Documentation updates

18 Apr 09:53
Compare
Choose a tag to compare
Documentation updates Pre-release
Pre-release
0.1.1

Documentation migration (#1)

Initial release

17 Apr 19:12
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release
0.1

Initial release (0.1, alpha)