Post

Replies

Boosts

Views

Activity

Reply to App increases size even if I delete data (Core Data)
short answer: don't worry about it. Apple has invested heavily in CoreData and uses it extensively. wrt deleted records, Core Data will clean up its storage over time. longer answer: to understand what's going on, you'll have to dive into the architecture and implementation of structured database systems, and specifically how SQLite (which is used by default by Core Data) organizes data and indices into its file structures. For some insights, see here https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreData/PersistentStoreFeatures.html
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’21
Reply to CloudKit public database subscription doesn't reach all users
It appears that subscribing to the public database is deprecated. CoreData's support for CloudKit public database does polling. See https://developer.apple.com/videos/play/wwdc2020/10650/ with a reference at the 7:30 mark, and a more-detailed discussion starting at 10:20. I would recommend the entire video, even if you're rolling your own CloudKit implementation, as it has lots of insights into how achieve sync without the tombstone magic in CKFetchRecordsZoneChangesOperation.
Jul ’21