Re: Best way to manage double-clicked files?

2011-12-12 Thread C.W. Betts
...@hotmail.com To: julius jul...@juliuspaintings.co.uk, Cocoa Development cocoa-dev@lists.apple.com Sent: Saturday, December 10, 2011 4:51:44 PM Subject: Re: Best way to manage double-clicked files? On Dec 10, 2011, at 8:23 AM, julius wrote: On Fri, 09 Dec 2011 13:14:26 -0700 C.W. Betts wrote

Re: Best way to manage double-clicked files?

2011-12-11 Thread julius
On 11 Dec 2011, at 00:51, C.W. Betts wrote: I want it so that when I double-click a file in Finder, a window pops up and lets me select an option, then the window goes away. I'm wondering if NSDocument is the best way to do this, or if another method would be better suited. I would

Re: Best way to manage double-clicked files?

2011-12-10 Thread julius
On Fri, 09 Dec 2011 13:14:26 -0700 C.W. Betts wrote 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

Re: Best way to manage double-clicked files?

2011-12-10 Thread C.W. Betts
On Dec 10, 2011, at 8:23 AM, julius wrote: On Fri, 09 Dec 2011 13:14:26 -0700 C.W. Betts wrote 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

Re: Best way to manage double-clicked files?

2011-12-10 Thread Lee Ann Rucker
, December 10, 2011 4:51:44 PM Subject: Re: Best way to manage double-clicked files? On Dec 10, 2011, at 8:23 AM, julius wrote: On Fri, 09 Dec 2011 13:14:26 -0700 C.W. Betts wrote What is the best way to handle double-clicked files in an application that doesn't use documents? The reason I

Re: Best way to manage double-clicked files?

2011-12-10 Thread Quincey Morris
On Dec 10, 2011, at 16:51 , C.W. Betts wrote: - (BOOL)readFromFileWrapper:(NSFileWrapper *)fileWrapper ofType:(NSString *)typeName error:(NSError **)outError { int chosen = [self showMemoryCardChooserForFile:[fileWrapper filename]]; if (chosen == 0) { return NO;

Best way to manage double-clicked files?

2011-12-09 Thread C.W. Betts
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