Skip to content

DragonAngel1st/CloudKit-Syncronizer

Repository files navigation

CloudKit Syncronizer/Manager

PLEASE NOTE : This is only an earlier version to the final version and needs updating for Swift 3, 4 and 5. It was also cleaned up and some classes reorganized. But it worked at that point and is the only version I can present here without conflicting with the NDA.

These files shows my process to create a cloud kit manager to sync the CodeData database for multiple users to the cloud and then each users' connected device will sync to the current data.

Care was taken to have one database owner as to be able to remove access to data to laid off employees etc.

The data on the local machine awaits for a connection to the internet to sync data and enables the user to work offline if necessary (in flight).

A separate manager takes care of possible conflicts. This manager tries to resolve conflict on a per field data and not the whole record row which is very effective to remove user interactions. Of course a user is notified of such changes if the changed were on his last update. Managing user can also be notified and queried if requested about the changes made and can be re-modified.

About

Live syncing to iCloud with CloudKit and CoreData and offline availability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages