• 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
Best way to manage double-clicked files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to manage double-clicked files?


  • Subject: Best way to manage double-clicked files?
  • From: "C.W. Betts" <email@hidden>
  • Date: Fri, 09 Dec 2011 13:14:26 -0700

What is the best way to handle double-clicked files in an application that doesn't use documents? The reason I ask is because a project I'm working on, PCSX-R, currently uses NSDocument subclasses to handle opening of files double-clicked in the Finder. However, the readFromFileWrapper:ofType:error: function returns NO even if the file is loaded to prevent the document window from popping up (I have it se with no close buttons; the window is called modally), but it shows an error that the file wasn't opened, despite it being so.  Should I use a different way of managing double-clicked files, or is there a function that I should overload on my NSDocument subclass?_______________________________________________

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

  • Prev by Date: Re: Singletons with ARC
  • Next by Date: Re: User Interface linked to two classes
  • Previous by thread: Re: Canonical list of class-name prefixes?
  • Next by thread: Re: Best way to manage double-clicked files?
  • Index(es):
    • Date
    • Thread