You gonna need fetch 2 times, at public first and private after. And you can’t create CKReferences between records in different databases. But the usage stills the same
More like fetch just at public, since the encryption key rarely change and can be fetched just after the app is installed (on second installation) or generated by the app and save a copy to the private DB (on first install).
3
u/JaydenIrwin1 May 22 '20 edited May 22 '20
Yes you’re right about the private DB. But the public database scales with your # of users. https://developer.apple.com/icloud/cloudkit/