• 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
Re: Finder Open file versus double-clicking file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Finder Open file versus double-clicking file (From: Kevin Vanwulpen <email@hidden>)
 >Re: Finder Open file versus double-clicking file (From: "Marcus S. Zarra" <email@hidden>)

  • Prev by Date: Re: how to print attributed strings to output (using NSLog? or otherwise)
  • Next by Date: Re: how to print attributed strings to output (using NSLog? or otherwise)
  • Previous by thread: Re: Finder Open file versus double-clicking file
  • Next by thread: Newbie Question: Why would my App freeze when I select a row in an NSTableView?
  • Index(es):
    • Date
    • Thread