• 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
Adding a custom entry to NSPopupButton set up with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding a custom entry to NSPopupButton set up with bindings


  • Subject: Adding a custom entry to NSPopupButton set up with bindings
  • From: Pierre Bernard <email@hidden>
  • Date: Fri, 25 Nov 2005 10:56:48 +0100

Hi!

I have a NSPopupButton set up using bindings and an NSArrayController. This is backed by CoreData. The menu shows existing entries to the database among which the user is to choose.

I want to give the user the opportunity to create a new choice. My idea of UI is to add a separator and an "Other..." menu item at the end of the pop-up menu.

Any idea how I should go about this while still keeping the convenient controller/bindings setup?

Best
Pierre

---
Spinning WebObjects or cooking up Cocoa in Switzerland?
Let me know: http://homepage.mac.com/I_love_my/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: retrieve a milliseconds interval with obj-C
  • Next by Date: Custom Outline
  • Previous by thread: Re: retrieve a milliseconds interval with obj-C
  • Next by thread: Custom Outline
  • Index(es):
    • Date
    • Thread