In some situations, it is worthwhile to subclass NSDocumentController in non-NSDocument-based applications to get some of its features. For example, the NSDocumentController management of the Open Recent menu is useful in applications that don’t use subclasses of NSDocument.
I have subclassed NSDocumentController. I have the Menu structure for there Open Recent menu. I use -noteNewRecentDocumentURL: Yet, I get no entries in the Menu. Where should I look? -koko code =========== in -windowDidLoad m_documentController = [[NSDocumentController alloc] init]; [m_documentController retain]; in my open action NSURL *url = [NSURL fileURLWithPath:path]; [m_documentController noteNewRecentDocumentURL:url]; _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com