• 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
NSPopupButton menu and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopupButton menu and bindings


  • Subject: NSPopupButton menu and bindings
  • From: Ashley Clark <email@hidden>
  • Date: Fri, 21 Jul 2006 20:05:27 -0500

I have a dictionary of objects and an array of keys that I want to place in an NSPopupButton's menu.

I have created countOfMenuItems and objectInMenuItemsAtIndex: methods to return the objects in the dictionary based on my array of keys and this works.

What I'd like to do is be able to say that when the key is an empty string (@"") to have the menu draw a separator. Is this possible with bindings?

Ashley Clark


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: OpenGL with Cocoa?
  • Next by Date: Problems with NSSpeechSynthesizer and Foundation tool?
  • Previous by thread: Re: Crash in [NSApplication sendAction:to:from:]
  • Next by thread: Re: NSPopupButton menu and bindings
  • Index(es):
    • Date
    • Thread