Seeding a Core Data persistent store with hard-coded seed data is fast and easy. The application we'll be seeding with data in this episode is Notes, the application we build in Core Data Fundamentals. Download the starter project of this episode if you'd like to follow along.
Subscribe to Cocoacasts Plus to watch this episode.
Seeding a Core Data Persistent Store
Hard-Coding Seed Data
by Bart Jacobs in Core Data
Swift 4
Xcode 9
iOS 11
Seeding a Core Data Persistent Store
-
05:11
-
2 Hard-Coding Seed Data
09:52
-
08:34
-
08:12
-
5 Loading Seed Data From a File
08:21