views:

3

answers:

0

I was reading that setting the value of a transient property always results in marking the managed object as "dirty". However, what I don't get is this: If I make a subclass of NSManagedObject and use some extra properties which I don't need to be persistet, how does Core Data know about them and how can it mark the object as dirty when I access these?

Again, they're not defined in the data model, so Core Data has no really good hint that they are there.

Or does Core Data use some kind of introspection to analyze my custom class and figure out what properties I have in there?