Chris Miles scratched his own itch and gave us
CMUnistrokeGestureRecognizer, a subclass of UIGestureRecognizer
that
can identify any single stroke shape you define with a bezier path. If you ever
owned a Palm Pilot and used the Graffiti entry mechanism, this is kinda like
that.
You define shapes and assign identifiers to them. If any of them are recognized your target is notified and you have access to which shape triggered the recognition, the recognition “score”, and the actual path drawn. Could be a great way to make gesture shortcuts for power users in your application. Check out his blog post about it, too.
✦ PermalinkMy books...