Re: Finder Open file versus double-clicking file
Re: Finder Open file versus double-clicking file
- Subject: Re: Finder Open file versus double-clicking file
- From: Kevin Vanwulpen <email@hidden>
- Date: Fri, 20 Jul 2007 13:22:55 -0700
Hi
I still have not figured out my problem, but may be onto something.
Our application does use files which are not NSDocument based.
We nevertheless use NSDocumentController , the only calls made in our
app in this sense are
[[NSDocumentController sharedDocumentController]
noteNewRecentDocumentURL:pURL];
the NSDocumentController help files in XCode say this:
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.
It sounds 'smelly' enough to me, but I have not found (googled for quite
a bit as well) which specific methods of NSDocumentController my
subclass should overload.
Does anyone have any experience/ideas/links in this regards. I am
especially interested in finding out which methods I would need to overload.
I am aware off the considerations when subclassing NSDocumentController
(and would put it in my Nib to make sure it gets instantiated early enough).
Kevin
_______________________________________________
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