• 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
Open Recent menu - how to populate it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open Recent menu - how to populate it?


  • Subject: Open Recent menu - how to populate it?
  • From: Alexander Bokovikov <email@hidden>
  • Date: Mon, 20 Jul 2009 21:36:34 +0600

Hi, All,

I'm writing a simple (in GUI) application, where NSDocument is not used. I use NSOpenPanel to get a file name, then process file and close it. There is no UI, related to file, where NSDocument could help significantly. At least I believe so.

My problem is that Recent menu is empty, because in Cocoa (AFAIK) it is maintained automatically by NSDocumentController, which is absent in my app. So, my question is - how to create and update the Open Recent menu "manually"? Where to store its items? How to populate this submenu when my app is loaded?

Or should I use NSDocumentController anyway?

Thanks.
_______________________________________________

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: Open Recent menu - how to populate it?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: [iPhone] UITableView cell display bugs ?
  • Next by Date: Re: Open Recent menu - how to populate it?
  • Previous by thread: Re: I need a milder application badge (solution)
  • Next by thread: Re: Open Recent menu - how to populate it?
  • Index(es):
    • Date
    • Thread