• 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: Dock droplets in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock droplets in Cocoa


  • Subject: Re: Dock droplets in Cocoa
  • From: Duncan Bushell <email@hidden>
  • Date: Thu, 13 Jun 2002 15:14:28 +0100

Nathan

That's brilliant - I just needed to set the doc type and now it works fine.
Thanks!

--
Duncan

On 13/6/02 1:18 pm, "Nathan Day" <email@hidden> wrote:

> Look at the Application delegate method application:openFile: if you
> want your app to open any file then you have to set your application to
> handle a special type, have a look in TextEdit since it seems to be able
> to open anything.
>
> On Thursday, June 13, 2002, at 09:26 PM, Duncan Bushell wrote:
>
>> Does anyone know how my Cocoa app can respond to a file being dragged
>> and
>> dropped onto its dock icon, or its icon in the Finder?
>>
>> It seems you can do it with Applescript but I can9t see how to do it
>> from
>> Cocoa.
_______________________________________________
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.

  • Follow-Ups:
    • Cocoa Design Question ..
      • From: email@hidden
References: 
 >Re: Dock droplets in Cocoa (From: Nathan Day <email@hidden>)

  • Prev by Date: How do you change the Application Icon in Interface Builder?
  • Next by Date: Cocoa Design Question ..
  • Previous by thread: Re: Dock droplets in Cocoa
  • Next by thread: Cocoa Design Question ..
  • Index(es):
    • Date
    • Thread