Something with #NSPersistentCloudKitContainer has been bugging me for years, and I never got around to solving it.

Looks like the initial sync on a new device might take up to 20-30 seconds to even start, all the while the app UI is showing "no data". I hate that. I would like to be able to distinguish "no data" and "data hasn't been synced yet" as soon as the app launches.

What would be a best practice for this? A separate #CKRecord that gets queried on launch?

TN3163: Understanding the synchronization of NSPersistentCloudKitContainer | Apple Developer Documentation

Explore the details inside the synchronization of by capturing and analyzing a sysdiagnose.

Apple Developer Documentation

@matt1corey hey Matt. I’m digging a bit more into #CloudKit Sharing (with #CoreData & #NSPersistentCloudKitContainer). I know you implemented sharing in your apps.

In an app where I want to attribute an event to a specific user, how would you do that? E.g. a task management app with assignee and assignees can be added by sharing to them. I want to track who created/edited/completed a task for example (like a log of events/activities). Should I add the userRecordName in the object?

We got #Ambre running on #visionOS. 🤩

#CloudKit syncing using #NSPersistentCloudKitContainer doesn’t seem to be working. Will investigate more later, the error given is

- Missing Entitlement" (8); "Trying to initialize a container without an application ID”

Looking so much forward to play around with this 🤩

#visionOS #recipe #cooking #buildInPublic #indieDev #SwiftUI

@stroughtonsmith We just released an update to our privacy focused #podcast app #Lysten. All data is synced using #NSPersistentCloudKitContainer, so no backend. 😍

In the latest release we added #SharePlay, making it possible to listen to pods with friends and family.

Here’s an #AppClip link to the latest episode of #UnderTheRadar by @_Davidsmith & @marcoarment . (Yes, the app is so small the entire thing fits inside an App Clip 😂)

https://lysten.ambi.se/share?podcast=https%253A%252F%252Fwww.relay.fm%252Fradar%252Ffeed&episode=http%253A%252F%252Frelay.fm%252Fradar%252F269

#showcase #swiftUI #icloud #ios

Lysten - Podcast Player

@tundsdev Better #CoreData stuff! Love CoreData, bit its a bit rough around the edges.

For example having migration made by the system when updating would be cool. And can we get a version of @FetchRequest that doesn’t crash if the stores are not yet loaded? And would be awesome if #NSPersistentCloudKitContainer could write data to the cloud when app is suspended. Useful when modifying data from an app intent for example.

Hey #coreDataGang! I got some trouble and need some guidance.

We store our #CoreData SQLite file in a shared #AppGroup, that way our extensions have access to the data. And we’re of course using #NSPersistentCloudKitContainer to sync the data through #iCloud.

BUT, we have an intermittent bug where the #watchdog kills our app because there’s a lock on the SQLite file when the app is suspended. 😭

How have you solved this? I can’t be the only one with this setup. Can I? 👀

Looks like the #WWDC Developer app by Apple uses a JSON-file to sync your favorites 😱

I wonder why #NSPersistentCloudKitContainer isn’t used

Today’s #iOSDev success: verified saving multiple images from #visionkit doc scanner to #coredata is working and syncing via #nspersistentcloudkitcontainer.

Next up: figuring out how to actually display the array of images!