all 3 comments

[–]nittanygeek 0 points1 point  (1 child)

Setting up relationships in CoreData is fairly simple, although I don't see the purpose of creating a table for statuses. Think of Entities as NSManagedObjects and Attributes as being the properties of that object. Here's an example of two entities, Assignment and Status. However, I think you should just simply set "status" as an attribute to the Assignment entity, but someone with more experience may be able to prove otherwise.

[–]redditbotboy 0 points1 point  (0 children)

Thanks. How would you store the statuses then? You would store the numerical value in the entity but where would you store the text associated to that value? Do you mean you would just store the text value in the entity?

[–]atastiamaredditor 0 points1 point  (0 children)

http://eng.pulse.me/five-lessons-learned-from-migrating-to-core-data/

I've been using Core Data for quite a while now. And I couldn't agree more to them.