On Oct 5, 2010, at 03:53, jonat...@mugginsoft.com wrote:

> However it appears that the binding machinery causes the NSPopUpButtonCell 
> selection to be reset after the user has interacted with the control.
> 
> I therefore have to resync the NSPopUpButtonCell selection to the model in - 
> outlineView:willDisplayCell:forTableColumn:item:

If I understand you correctly, then it's not the binding machinery that 
"resets" anything.

Instead, it's understood (as part of NSTableView's API contract) that the cell 
in outlineView:willDisplayCell:forTableColumn:item: is re-configured every time 
it is used, since it's potentially re-used for multiple rows. It's not 
surprising that you would have to set up the selected item(s) every time.

Or did I misunderstand what you're asking?


_______________________________________________

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