How to get a NSPopUpButtonCell bound to a CoreData attribute?
How to get a NSPopUpButtonCell bound to a CoreData attribute?
- Subject: How to get a NSPopUpButtonCell bound to a CoreData attribute?
- From: Martin van-Eerde <email@hidden>
- Date: Fri, 16 Feb 2007 13:32:22 +0000
I have a NSTableView with its columns bound to a array controller
backed by CoreData.
I would like to change one of the free form text cells to a lookup.
I have added NSPopUpCellButton and linked that to a menu.
If I do not bind the column the menu options for the table are
displayed, but the column value is not displayed one a menu choice
has been selected.
If I bind the column the menu will not popup! I don't mind what the
entity attribute is, but would prefer it to be the index of the
selected menu item. How do I get the menu selection to update the
entity attribute and the column to display the selected menu text?
Thanks Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden