Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private data sharing using CloudKit

Is there a straightforward way to share private data between two or more users using CloudKit?

Public and private date are obvious, but there doesn't seem to be a way to allow a group of users to organize their own silo to share data amongst themselves without making it available to all the other users of the system and to the app developer.

I have an academic collaboration app in mind but the simplest example would be private messaging between two users.

I guess one could try to build a public key encryption system on top of CloudKit to achieve that, but that's not what I'm looking for and would scale poorly beyond two users per group.

like image 291
hashemi Avatar asked Oct 26 '14 23:10

hashemi


People also ask

How does CloudKit sharing work?

With the CloudKit sharing UI, users can send a share link, stop sharing topics, and manage permissions for a shared topic. Users who accept the share, called participants, can view or edit the shared record, or stop participating in the share.

What is CloudKit mirroring?

Configuring CloudKit MirroringSynchronize objects between devices, and handle store changes in the user interface. Reading CloudKit Records for Core Data. Access CloudKit records created from Core Data managed objects.

Does CloudKit cost money?

Cost. Although the running cost of servers is a big deal for developers. But in case of CloudKit you don't have to be worried about paying large expenses at all. As it offers a reasonable storage amount completely free.


1 Answers

At WWDC 2016, Apple introduced CKShare which addresses this use case. As of Jun 13th, 2016, the beta API is public but undocumented. The sharing API is demonstrated in the WWDC 2016 video What's new with CloudKit, starting at 19:57.

like image 156
hashemi Avatar answered Oct 12 '22 23:10

hashemi