I'm slowly figuring out Core Data for my iPad app, but I just can't seem to figure out how to access data from my to-many children (who also have to-many children). I'm hoping to get some code examples from the experts here.
Let's use a simple data structure: Parent -(to many)-> Child -(to many)-> Toy
I can fetch the Parent just fine and get it's data and the NSSet of children. After that, I get lost.
1) What would the code look like to get the data from a Child (say, get a specific Child's age or ALL the children's ages in the NSSet?
2) How would I then get the NSSet of the Toys a specific Child has? (also assuming accessing the Toy data would be the same as #1 code).
I sincerely appreciate the help! This is supposed to be EASIER... isn't it?
Thanks!