Creating Menu Items from NSMutableArray
Creating Menu Items from NSMutableArray
- Subject: Creating Menu Items from NSMutableArray
- From: Ryan Hale <email@hidden>
- Date: Thu, 15 Aug 2002 15:57:14 -0500
In my Cocoa app I would like to add items to a submenu for each "record"
in an NSMutableArray. For example: it the user has added the title "Work
Sig" to the record, I want my submenu to show "Work Sig" as an item.
This is all I need for now, but I eventually (i.e. this weekend:) ) want
the menu item to invoke an action that inserts the value for the record,
so in the previous example it would insert the users Work Signature.
Right now I have a MutableArray and a dictionary for each "item" (Name
and then Text).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.