Every time we launch Notes, the persistent store is seeded with data. That's not what we want as it results in duplicates. In this episode, you learn how to easily avoid duplicates and how to start with a clean slate if you decide you no longer need seed data.
Subscribe to Cocoacasts Plus to watch this episode.
Seeding a Core Data Persistent Store
Avoiding Duplicates
by Bart Jacobs in Core Data
Swift 4
Xcode 9
iOS 11
Seeding a Core Data Persistent Store
-
05:11
-
09:52
-
08:34
-
4 Avoiding Duplicates
08:12
-
5 Loading Seed Data From a File
08:21