I'm trying to understand when NSPopupbutton calls setter and getters in bindings.
I have an array, an array controller, a tableview, a labelview and a NSPopupbutton. The arraycontroller generates objects (via add/remove) and loads them into the tableview via a binding. Let's say we have a one column tableview populated by anObject.nameValue which is a string. The popupbutton is populated with the content from the arraycontroller via a binding. The popbutton selected-content (or value) is bound to a variable. The labelview is bound to the same variable. I've manually written setters / getters for the labelview variable. I'm finding that NSPopUpButton will NOT call the setter or getter if the fields for the popupbutton are all the same name (pointer vales are different). If I change a name in the tableview, then select the new name with the popupbutton, the setter/getter are called. This presents many problems.... thoughts? _______________________________________________ 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