• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scroll-vs-zoom for scroll balls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scroll-vs-zoom for scroll balls


  • Subject: Scroll-vs-zoom for scroll balls
  • From: Rick Mann <email@hidden>
  • Date: Wed, 09 Dec 2015 13:20:51 -0800

In the past, I've always hated that non-Mac apps (e.g. CAD programs, Google Maps, etc.) misinterpret the scroll ball on my Mighty Mouse, or two-finger gestures on the trackpad, as zoom and not pan.

But there is a certain convenience to being able to zoom precisely with these gestures. I'd like to interpret vertical scroll as zoom in my 3D app, if the user is holding down a meta key (or is otherwise in a zoom mode).

I'm using SCNView, which AFAICT has no zoom functionality. I'm hoping I an intercept the scroll events and use that to reposition my camera, but I don't actually know how to do that. That is, what's the NSView method to override to capture scroll events? Is it -scrollWheel:, or

For robustness, I'd like to have any momentum continue to apply to the zoom operation, even if the user releases the meta key before the momentum scroll ends.

What do you guys think about this UX, pan-vs-zoom interpretations of scroll events?

Thanks,

--
Rick Mann
email@hidden



_______________________________________________

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


  • Follow-Ups:
    • Re: Scroll-vs-zoom for scroll balls
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: NSViewController -identifier unrecognized selecto problem
  • Next by Date: Re: Scroll-vs-zoom for scroll balls
  • Previous by thread: Re: NSViewController -identifier unrecognized selecto problem
  • Next by thread: Re: Scroll-vs-zoom for scroll balls
  • Index(es):
    • Date
    • Thread