I read that setting the value of a transient property always causes the managed object to be marked as dirty. However, I don’t understand: if I create a subclass of NSManagedObject and use some additional properties that I don’t need, this is how Core Data knows about them and how it can mark an object as dirty when I access them?
Again, they are not defined in the data model, so Core Data does not have a really good hint that they are.
Or does Core Data use some kind of introspection to parse my custom class and find out what properties I have there?
source
share