Open Recent menu - how to populate it?
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