On Tue, Feb 5, 2013, at 10:45 PM, Kyle Sluder wrote:
> Typically one calls +startPeriodicEvents… in -draggingEntered:, and calls
> +stopPeriodicEvents in -draggingExited:.
Hmm, I think I'm conflating -wantsPeriodicDraggingUpdates with +[NSEvent
startPeriodicEvents…]. There are places in our code
On Feb 5, 2013, at 6:53 PM, Graham Cox wrote:
> So, the question is how can I tap into the dragging session loop to do the
> autoscroll?
Typically one calls +startPeriodicEvents… in -draggingEntered:, and calls
+stopPeriodicEvents in -draggingExited:.
--Kyle Sluder
_
On 06/02/2013, at 12:31 PM, Kyle Sluder wrote:
> On Tue, Feb 5, 2013, at 03:39 PM, Graham Cox wrote:
>> I need to autoscroll my view when I'm handling -draggingUpdated: but
>> -autoscroll: takes an NSEvent and I don't have one. I thought I could use
>> [myWindow currentEvent] but that doesn't se
On Tue, Feb 5, 2013, at 03:39 PM, Graham Cox wrote:
> I need to autoscroll my view when I'm handling -draggingUpdated: but
> -autoscroll: takes an NSEvent and I don't have one. I thought I could use
> [myWindow currentEvent] but that doesn't seem correct for the dragging
> session.
Why not? If you