Linus
Linus

Reputation: 4783

Design pattern for Core Data default entries

I'm planning a new ios app and am not sure of what is the best way to set up a start list for a tableView on first app start. The app uses Core Data (more precisely Magical Record). Should I use some kind of (p)list (dictionary) which gets imported or should I just hard code the default entries like when the user adds something through a formula? Thank you!

Upvotes: 0

Views: 118

Answers (1)

Fogmeister
Fogmeister

Reputation: 77641

There are a load of arguments for and against all different ways of doing this.

Personally I prefer just to hard code all the default entries (if there aren't thousands of them obviously).

Upvotes: 1

Related Questions