There is code from Paul Hegarty's class on UImageView that works really easily with the pinch gesture.
I'll look to see if I have any code handy. On Apr 1, 2012, at 12:42 PM, Nick wrote: > This is a very customized application, it is not intended for public use. > Just wondering if someone could help me with the math to create this > zooming effect.. > > Alex Zavatone <z...@mac.com> wrote: >> Dave, while I can see that you may want the mouse wheel to navigate the >> current map, does it not make more sense to allow the mouse wheel to zoom in >> or out and then hold the mouse button down and drag left and right to pan? >> >> If you use the mouse wheel to pan, what is naturally your zoom control? >> >> On Apr 1, 2012, at 11:52 AM, Dave Fernandes wrote: >> >>> Just a comment about the UI… I find this behavior horribly >>> counter-intuitive. I always end up zooming when I mean to pan. >> - Alex Zavatone _______________________________________________ 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