I'm writing a program that has an NSView embedded in an NSScrollView which user can zoom. I'd love to set it up so the user can zoom the view using the multitouch pinch gesture supported on MacBook Air and the new unibody MacBooks/MacBooks Pro and in applications like Safari and iPhoto. I've hunted through Apple's documentation and can't figure out how do to this.
- Is this supported using publicly available APIs on Mac OS X 10.5 Leopard?
- If not, how "bad" are the private APIs (e.g. is it just an undeclared constant or a whole new set of methods)?