apple / sample-cloudkit-sharing

MIT License
296 stars 41 forks source link

CloudKit Samples: Sharing

Goals

This project demonstrates sharing CloudKit records across user accounts. It shows how to initiate a share from one user account, and accept the share and subsequently view shared data on another account.

Prerequisites

Setup Instructions

Using Your Own iCloud Container

How it Works

User One: Initiating the Share

User Two: Accepting the Share Invitation

Note on Swift Concurrency

This project uses Swift concurrency APIs. A prior completionHandler-based implementation has been tagged pre-async.

Further Reading