I would also expect that you can observe your NSManagedObjectContext's "hasChanges" property using KVO.

  No, you can not:
http://developer.apple.com/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSManagedObjectContext_Class/Reference/Reference.html#/ /apple_ref/doc/uid/TP30001182-BAJBHIDI

Not everything is observable because not everything is compliant. There are a number of reasons why it might not be feasible or why it might be woefully inefficient to use KVO.

I take it, Chris, you really like the KVO mechanism. I do to. ;-) But you can't fit everything into it, nor should you where performance is more important than programmer convenience.

--
I.S.



_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to