• 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
Get rid of "No Selection" in bound NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get rid of "No Selection" in bound NSPopUpButton


  • Subject: Get rid of "No Selection" in bound NSPopUpButton
  • From: Alain Schartz <email@hidden>
  • Date: Fri, 26 Oct 2007 07:45:42 -0700

Hi list,

I have an NSPopUpButton whose selectedValue is bound to an NSArrayController's selection; said NSArrayController is representing Core Data entities. Now the popup is working correctly, but I want to get rid of the "No selection" entry. How do I do this ?

I set the NSArrayController to "avoid empty selection", to "preserves selection" and to "automatically prepares content". What am I missing ?

Thanks for any input,
Alain
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: [Moderator] Leopard Discussion Embargo Lifted at 6PM Pacific Time on Friday
  • Next by Date: Re: [Moderator] Leopard Discussion Embargo Lifted at 6PM Pacific
  • Previous by thread: Re: temporary files and subsequent cleanup
  • Next by thread: NSTokenField in NSScrollView
  • Index(es):
    • Date
    • Thread