• 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: Dragging files and folders into NSView subclasses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging files and folders into NSView subclasses


  • Subject: Re: Dragging files and folders into NSView subclasses
  • From: Michael Watson <email@hidden>
  • Date: Fri, 20 Oct 2006 19:01:15 -0400

I thought this might have been an issue originally, but I'm only targeting Tiger. Even after registering my drag type, - draggingEnterered: never seems to trigger.

I've seen this:

- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender

and this:

- (unsigned int) draggingEntered:sender

Is there a difference?


-- m

On 20 Oct, 2006, at 18:54, Nick Zitzmann wrote:


On Oct 20, 2006, at 4:49 PM, Michael Watson wrote:

I *think* I have.

In my NSView subclass:

Out of curiosity, are you targeting Panther or earlier? IIRC, the Finder didn't set the NSFilenamesPboardType pasteboard until Tiger. For older versions of the Finder, you have to use CorePasteboardFlavorType 0x6675726C instead.


Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Dragging files and folders into NSView subclasses (From: Michael Watson <email@hidden>)
 >Re: Dragging files and folders into NSView subclasses (From: Nick Zitzmann <email@hidden>)
 >Re: Dragging files and folders into NSView subclasses (From: Michael Watson <email@hidden>)
 >Re: Dragging files and folders into NSView subclasses (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Dragging files and folders into NSView subclasses
  • Next by Date: Fwd / Rdw in QTMovieView
  • Previous by thread: Re: Dragging files and folders into NSView subclasses
  • Next by thread: Fwd / Rdw in QTMovieView
  • Index(es):
    • Date
    • Thread