On Sep 28, 2012, at 8:51 AM, Dave Keck <davek...@gmail.com> wrote:

>> I'd like to observe a notification when a user edits (renames) an item in 
>> the outline view that tells me the old and new values. I'm getting 
>> notifications, but the old and new values are always null. For what it's 
>> worth, I'm currently observing the "content.name" key path of the 
>> NSTreeController instance - not sure if that makes a difference.
> 
> Sounds suspiciously similar to the NSArrayController bug where it
> doesn't honor the NSKeyValueObservingOption{Old|New} KVO options.
> There are quite a few references to this around the web, e.g.:
> 
>    
> http://www.cocoabuilder.com/archive/cocoa/215277-nsarraycontroller-selectedindexes.html

Hmmm, the example output on that page looks all too familiar. I'll try 
Negm-Awad's binding info example as soon as I get a chance. Thanks for the link.


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to