• 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
Re: Newbie: Drag and drop onto application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Newbie: Drag and drop onto application (From: Andres Ramirez <email@hidden>)

  • Prev by Date: Transferring Projects to new Computer
  • Next by Date: Re: Transferring Projects to new Computer
  • Previous by thread: Newbie: Drag and drop onto application
  • Next by thread: Re: Rendering an NSControl into a NSImage?
  • Index(es):
    • Date
    • Thread