Under the Bridge

Gesture Recognizers

So no doubt as your projects move to requiring iPad/4.x you’ve been considering using those newfangled UIGestureRecognizer thingies to save a bit of code; and here’s a few pieces to help bring you up to speed.

Nice gentle introductory walkthrough:

Implementing Gesture Recognizers

More detailed introduction, with sample project:

Gestures Recognizers in iOS

Dr. Touch has a couple handy tips for mucking around with default UIScrollView behaviours, and simplifying cell interaction:

Hacking UIScrollView Gesture Recognizers

Tap&Hold for TableView Cells, Then and Now

… and if like all the cool kids you use cocos2d,

Adding UIGestureRecognizer support in cocos2d

with a patch “tested to work on v0.99.4 and 0v.99.5b” to be found here.

UPDATES:

Couple more good introductions:

Working with UIGestureRecognizers

The Joy of Gesture Recognizers in iOS and followup Adding subgestures to iOS gesture recognition

2
  • http://www.raywenderlich.com Ray Wenderlich

    I absolutely love gesture recognizers – one of my favorite new APIs Apple has introduced. Makes everything so much simpler – and works better too!

  • Pingback: cocos2d Collection at Under The Bridge