• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to get a NSPopUpButtonCell bound to a CoreData attribute?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Binding Master to Detail in a NSTableView With CoreData
  • Next by Date: Re: Core Data, bindings and synchronizing.
  • Previous by thread: Re: Binding NSTreeController to NSArray
  • Next by thread: Re: XML to NSDictionary
  • Index(es):
    • Date
    • Thread