Best way to manage double-clicked files?
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