• 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
Creating Menu Items from NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Creating Menu Items from NSMutableArray
      • From: Jeremy Dronfield <email@hidden>
  • Prev by Date: SIGBUS errors when dragging from the Finder to an NSTableView
  • Next by Date: Waking up the Finder
  • Previous by thread: SIGBUS errors when dragging from the Finder to an NSTableView
  • Next by thread: Re: Creating Menu Items from NSMutableArray
  • Index(es):
    • Date
    • Thread