passepartout-app
passepartout-app copied to clipboard
Unexpected iCloud updates
Fixing duplicates might cause some issues.
Make Core Data “pull” (rethink FetchedResults without delegate) and observe:
- NSPersistentStoreCoordinatorStoresDidChangeNotification?
- NSUbiquitousKeyValueStore.didChangeExternallyNotification?
Resources:
- https://saturncloud.io/blog/core-data-with-icloud-notifications-in-ios-7-a-technical-guide-for-data-scientists/
- https://stackoverflow.com/questions/65190038/swift-cloudkit-coredata-remote-change-notification-also-firing-for-local-changes
- https://developer.apple.com/documentation/cloudkit/remote_records
-
https://obscured-pixels.hashnode.dev/the-core-data-cloudkit-paradox
- “How can we determine if a newly setup device has data to sync if we need to wait for the sync to occur in the first place?”
- [ ] Changes are not always saved
- [ ] Navigation pops to main profile view abruptly - e.g. macOS: enabling VPN from Organizer when in Endpoint
- [ ] Removed profiles pop back
- [ ] Does using Core Data via FetchRequest improve iCloud reliability?