What's the reason why core data takes care of the life-cycle of modeled properties?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-06-07T15:09:20Z Indexed on 2010/06/07 15:12 UTC
Read the original article Hit count: 194

Filed under:
|

The docs say that I should not release any modeled property in -dealloc. For me, that feels like violating the big memory management rules. I see a big retain in the header and no -release, because Core Data seems to do it at any other time.

Is it because Core Data may drop the value of a property dynamically, at any time when needed? And what's Core Data doing when dropping an managed object? If there's no -dealloc, then how and when are the properties getting freed up?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data