• 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
Binding NSMenu to NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding NSMenu to NSArray


  • Subject: Binding NSMenu to NSArray
  • From: Geoffrey Holden <email@hidden>
  • Date: Mon, 04 Feb 2013 18:15:24 +0000

In the same way that it is possible to bind NSTableView to an NSDictionary,
is it possible to bind NSMenu to an NSArray?  I have an array of
dictionaries.  The dictionaries contain the menu name, and may contain a
further array of dictionaries, to a potential level of eight deep.

I'd like to be able to turn this into a nested NSMenu.  I don't know if
I've explained myself clearly - but does anyone have any idea how I might
go about it?  Is there a standard method that I should know about?

If there isn't a standard method then don't worry about it - I'll work it
out.
_______________________________________________

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

  • Follow-Ups:
    • Re: Binding NSMenu to NSArray
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: What's the difference between [NSOperationQueue currentQueue] and performSelectorOnMainThread (iOS platform)
  • Next by Date: Re: NSDocument's Open File Panel unresponsive when opening large file from disc
  • Previous by thread: Re: NSDocument's Open File Panel unresponsive when opening large file from disc
  • Next by thread: Re: Binding NSMenu to NSArray
  • Index(es):
    • Date
    • Thread