iPhone Core data - Not constant path between entities

Posted by ncohen on Stack Overflow See other posts from Stack Overflow or by ncohen
Published on 2010-04-20T09:46:12Z Indexed on 2010/04/20 11:33 UTC
Read the original article Hit count: 252

Hi everyone,

I have an entity which has relationships with other entities. Let say we have: user->menu->meal

My problem is that some of the users don't have a menu. So when I try to check: user.menu.meal == rice I get an error (path not found...)!

Thank you for your help!

© Stack Overflow or respective owner

Related posts about core-data

Related posts about iphone