Re: Determining when dragging begins and ends
Re: Determining when dragging begins and ends
- Subject: Re: Determining when dragging begins and ends
- From: Michael Nickerson <email@hidden>
- Date: Sat, 08 May 2010 03:23:03 -0400
On May 08, 2010, at 12:14 AM, Dave DeLong wrote:
> So in a nutshell:
>
> How can I reliably know when dragging begins and ends?
>
> Thanks,
>
> Dave
You can subclass NSOutlineView and call to your delegate on the NSDraggingSource protocol methods:
- (NSDragOperation)draggingEntered:
- (NSDragOperation)draggingUpdated:
- (void)draggingExited:
- (void)draggedImage:endedAt:operation:
You (probably) don't need the draggingUpdated: method, but I thought I'd throw it in just in case.
--------------------------------------
Darkshadow
(aka Michael Nickerson)
http://www.nightproductions.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden