• 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
Adding new menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding new menu items


  • Subject: Adding new menu items
  • From: Chad Armstrong <email@hidden>
  • Date: Sun, 13 Jun 2004 18:11:56 -0500

When my application starts, I want it to check a file and add some new menu items, sort of like the Bookmarks menu from a web browser. When would be the best time to add these new dynamic menu items? In the awakeFromNib? Perhaps one of the applicationDoSomethingInteresting functions (applicationDidFinishLaunching, etc.)? For the time being I've put my code in awakeFromNib, and this seems to work okay for now, but I'd like to check if there is a better time or place for loading in these new menu items.

Chad Armstrong
_______________________________________________
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.


  • Prev by Date: NSImage representations [fixed]
  • Next by Date: Background color for Drawers
  • Previous by thread: NSImage representations [fixed]
  • Next by thread: Background color for Drawers
  • Index(es):
    • Date
    • Thread