I have a very simple problem that i'm sure has a simple solution, but after searching the internet for 2 days I can't find anything on it =(
Here is the situation: I have decided to break my data into 2 sperate entities with a one-to-one relationship. So I have the PERSON entity and FEATURES entity. each PERSON has a related FEATURES entity with a person_id pointing back to PERSON.
So how do I fetch data from the FEATURES related to a specific PERSON? I haven't found any Predicate related to relationship id's
The only thing I can think of is to create a person_name attribute on FEATURES and then do this: predicateWithFormat:@"person_name = 'Bill'"
but doesn't that defeat the purpose of setting up the relationships?
So how do I fetch based on relationships??