Hi Folks,


 I have a NSTableview with a datasource consisting of an NSArray of

 dictionaries. One column in my table has an NSPopupbuttonCell. The

 content and contentValues are bound to a Core Data "Account" object.

 I use a "name" property as my contentValue.



 I'm having trouble changing the popup button. I know in my datasource

 I get an index of the selected object and in my setObjectValue

 datasource method I set the key in the dictionary with this new

 NSNumber inValue. However, in operation when I change the popupbutton

 it very quickly changes back to the first object in the list (index  0).



 Clearly I'm missing something or have set something wrongly in IB?



________________________________
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to