On Dec 13, 2009, at 9:50 AM, Keary Suska wrote:

>> Well, not quite.
>> As I stated in some previous post in this thread, the NSDictionaryController 
>> (bound to "currentDictionary") fills an editable NSTableView.
>> And if the user edits some key or value in this NSTableView the 
>> NSDictionaryController does NOT update "currentDictionary", but replaces it 
>> with another NSDictionary.
> 
> Forgot about that. Instead, I would recommend:
> 
> 0. observe NSArrayController's "selectionIndex"

Actually, you could observe any observable property that expresses the 
selection. Doesn't really matter. You could even use a table view delegate 
method if you wanted and throw out observation altogether.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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