Re: Newbie: Drag and drop onto application
Re: Newbie: Drag and drop onto application
- Subject: Re: Newbie: Drag and drop onto application
- From: John Anderson <email@hidden>
- Date: Mon, 7 Apr 2003 14:40:18 -0700
Set one of your objects to be your app's delegate, and then have that
object handle this message:
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString
*)filename
That should do the trick.
John Anderson
On Monday, April 7, 2003, at 02:11 PM, Andres Ramirez wrote:
>
Hello,
>
>
Could somebody point me in the right direction for this. Where do I
>
start to see which files have been dragged onto my application at
>
startup or even deciding which files my application allows this to
>
happen with? ( Cocoa of coarse )
>
>
All the docs are just a bit overwhelming. Thank you.
>
>
- Andres
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.