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 want to be safe, you can ask the current event if it is a mouse event. (Ideally, the method would be -draggingUpdated:forEvent:…) --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com