I am writing a program that has an embedded NSUUV embedded in an NSCIL view that the user can zoom. I would love to set it so that users can zoom view using multitouch pinch gestures supported in applications like MacBook Air and new unibody MacBook / MacBook Pro and Safari and iPhoto. I have hunted through the documents of Apple and can not know how to do this.
- Is it supported using the publicly available API on Mac OS X 10.5 Leopard?
- If not, how are "bad" private APIs (like this is just an undeclared continuous or a whole new set of methods)?
edit: Snow leopard gestures and multi Adds a supported API for touch. See; For "gesture" and "multitouch" (SIC), they will be very familiar, if you have used the people below, but there are probably some good differences, so read the new document.
Is it supported using the publicly available APIs Mac OS X 10.5 Leopard?
No 10.5.0 does not support it at all, and from 10.5.1 to 10.5.6, you can implement without documenting methods.
If not, then "bad" how are the private APIs (like this is just an undeclared stationary or a whole new set of methods)?
Not bad at all, because you implement the methods, so you should not crash, if the apple changes the way; What will happen is that this facility will stop working.
However, if you retrieve the full (not the delta) magnification or the rotation from the event, then these are the only methods that are just now- undocumented methods are phenomena, so you should send them the Reactions should be protected with:
Range-checking carefully on the return values of messages and methods.
Comments
Post a Comment