HI
I am doing a feasibility study for a risk register database and am fairly new to iOS development and have not used CloudKit before.
The register uses core data for local peristance, and the plan is to create a centralised online data store in a way that:
1) A client organisation can store and share data with its staff securely (staff having full read/write access).
2) There is no need for the client to subscribe to some sort of third party online storage option or set up their own server etc. I.e. it would use iCloud.
I’ve just watched a couple of WWDC videos on CloudKit and was wondering if CloudKit sharing could provide an adequate solution.
Please shoot me down if there are more suitable alternatives or I’ve misunderstood what can be done with CloudKit, but what I’ve in mind is something along the following lines:
1) The organisation has an iCloud account against which the data is stored in iCloud using CoreData (locally) and CloudKit.
2) A specific header record (core data, or a CloudKit compatible representation of that record) could be shared to any of its staffs iCloud accounts. Not all records would be shared with all staff.
3) Any number of child records could be created against the shared header by the staff remotely on their iPhones/iPads.
4) Any data created/edited in step 3 would be synchronised back to the organisations account and would be available to anyone else involved in the share.
I appreciate this is a bit of a simplification and I’m not necessarily looking for examples. Rather is this is practical solution and if not, a pointer or two to get me on the right track. Ideally I’m aiming for the simplest solution possible, e.g. the app would be available on the App Store and the only other setup requirement for the organisation would be to create shares with its staff and make sure they had copies of the app on their iPhones etc.
Thanks very much...