Re: Implementing Open Document AE in Cocoa
Re: Implementing Open Document AE in Cocoa
- Subject: Re: Implementing Open Document AE in Cocoa
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 24 Jan 2002 19:18:27 +0000
On Thursday, January 24, 2002, at 05:21 PM, Stiphane Sudre wrote:
On Thursday, January 24, 2002, at 05:44 PM, Taxxodium wrote:
How do you implement the Open Document AppleEvent from Carbon in
Cocoa. You
know, the action of dropping a file into your apps icon and open that
file.
IIRC
application:openFile:
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString
*)filename
Note that this is an NSApplication delegate method and therefore must be
implemented by, uh, you're NSApplication delegate :-)
-- Finlay