Core Data Relationship List

Posted by Dylan Copeland on Stack Overflow See other posts from Stack Overflow or by Dylan Copeland
Published on 2010-03-08T00:33:34Z Indexed on 2010/03/08 0:52 UTC
Read the original article Hit count: 431

Filed under:
|

I'm not sure whether or not this is the appropriate way of doing this, but I was wondering what's the best way to approach a relationship to a value in a list with Core Data? For example, say you have a 'person' entity. Each person can have a different 'hair color'. I'm trying to basically define the hair colors in my data model and allow the 'person' entity to have a relationship to their given 'hair color.

Is this possible? Good idea or bad?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data