Is there a high-level gestures library for iPhone development?

流过昼夜 提交于 2019-12-02 18:53:58

I've set up just such a project. It's not a library, but it is full of sample code for pinch/stretch, tap and hold, etc.

Blog:

http://6tringle.com/blog/2009/TouchSampleCode.html

Github:

http://github.com/kailoa/6tringle-touchsamplecode/tree/master

Here is one for detecting the circle gesture, with the source code provided. Might be useful for adapting it to detect other geatures.

http://iphonedevelopment.blogspot.com/2009/04/detecting-circle-gesture.html

UIGestureRecognizer. Don’t roll your own.

I forked Kailoa's very nice example and attempted to create a library.

http://github.com/bentford/GestureDetect

I intend to add a combination "pinch-zoom and drag" gesture like the one in the maps app. Once I get it working, I'll post on github.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!