Binding NSMenu to NSArray
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