You can watch this episode by subscribing to Cocoacasts Plus.

Seeding a Core Data Persistent Store

Hard-Coding Seed Data

Seeding a Core Data Persistent Store
1 Three Strategies 05:11
2 Hard-Coding Seed Data Plus 09:52
3 Seeding Data Asynchronously Plus 08:34
4 Avoiding Duplicates Plus 08:12
5 Loading Seed Data From a File Plus 08:21
6 Loading Seed Data From a Remote Server Plus 05:45

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.

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials

Monthly

$19 / month

Pay Once a Month

Yearly

$8.25 / month (billed annually)

Pay Once a Year and Save 56%

Next Episode "Seeding Data Asynchronously"