Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Joe Wollard
On Sep 28, 2012, at 8:51 AM, Dave Keck 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

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Dave Keck
> 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 NSTreeCo

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Joe Wollard
On Sep 28, 2012, at 8:33 AM, Alex Zavatone wrote: > > On Sep 27, 2012, at 10:42 PM, Joseph M. Wollard wrote: > >> I'm pretty sure I'm doing something wrong here. I have an NSTreeController >> bound to the 'value' of an NSOutlineView's table column. The >> NSTreeController's content is then b

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Alex Zavatone
On Sep 27, 2012, at 10:42 PM, Joseph M. Wollard wrote: > I'm pretty sure I'm doing something wrong here. I have an NSTreeController > bound to the 'value' of an NSOutlineView's table column. The > NSTreeController's content is then bound to a property of one of my classes > which feeds it an a

Proper KVO with NSTreeController + NSOutlineView

2012-09-27 Thread Joseph M. Wollard
I'm pretty sure I'm doing something wrong here. I have an NSTreeController bound to the 'value' of an NSOutlineView's table column. The NSTreeController's content is then bound to a property of one of my classes which feeds it an appropriate hierarchy of NSMutableDictionary objects. So, dict ->