Override magnifyWithEvent: in your view then use -[NSEvent magnification]
On Jul 2, 2010, at 1:54 PM, Rick Mann wrote: > Is there sample code demonstrating how to support arbitrary pinch zoom/scroll > in a custom view, on Mac OS X? Similar to how Preview.app does it. > > If not, what about recognizing the pinch gesture? > > Thanks! > > -- > Rick > > _______________________________________________ > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/kainjow%40kainjow.com > > This email sent to kain...@kainjow.com _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com