Tuesday, June 19, 2012 [Tweets] [Favorites]

Core Data Transient Properties

Andrew Pontious:

What I hoped they would be was full-fledged members of the database which just happened not to be saved to disk.

What they actually are is glorified instance variables. The trouble with using a custom subclass ivar is that its value is only present in the specific object you set it on. If you get a different object representing the same entity, say from another context, it won’t have that value. These can lead to lots of problems.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment