UIGestureRecognizers – sometimes it’s okay to simply say no.

I’ve been working on a project that was using UIGestureRecognizers – mainly Pan but some others as well. As it turns out sometimes it’s perfectly fine to go old school and use touchesBegan, touchesMoved, and touchesEnded.

You won’t go to developer jail and you won’t be looked at unfairly by other developers during a code review. Use the tools you need without introducing any un-needed seeming simplicity that ends up complicating matters. They are nice when needed but don’t jump to the conclusion that you should always prefer them to the previous solutions.

A little bit of a rant and also a revelation.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *


+ nine = 12

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>