First, a bit about terminology.

What you are talking about is not observing child entities. You wish to observe related instances (NSManagedObject or subclass thereof). The entity describes the instance, but is not the instance.

(I'm trying to avoid being overly pedantic, but talking about things using a common language that everyone agrees upon is important.)

On Sep 16, 2009, at 9:25 PM, Matthew Lindfield Seager wrote:

When a user undoes a deletion it calls the primitive accessor which
does not emit KVC/KVO notifications.

It is correct that when you undo/redo, Core Data does not typically call the public accessors. It does, however, emit the required KVO change notifications when updating the values.

(And as such, you can observer the relationship if you need to know when it changes. Self-observing, unfortunately, opens up another can of worms.)

If you have a specific situation where NSManagedObject is no emitting KVO change notifications on undo or redo, that would be a bug.

- Jim
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to