YLTapPatternRecognizer 1.1.0

YLTapPatternRecognizer 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License NOASSERTION
ReleasedLast Release Oct 2018

Maintained by Eric Jensen.



  • By
  • Eric Jensen

YLTapPatternRecognizer

Build Status CocoaPods

UIGestureRecognizer subclass that matches taps to a particular pattern. Use it to unlock easter eggs or beta features. But only for those who know the secret code.

Installation

Simply add the files in the TapPatternRecognizer folder to your project or add YLTapPatternRecognizer to your Podfile.

Configuration

The default pattern is shave and a haircut.

You can use the predefined within YLTapPatterns or create your own custom pattern.

See the header for full documentation.

Demo

Build and run the SecretTapDemo project in Xcode to see YLTapPatternRecognizer in action.

demo recording

Credits

Originally inspired by the Secret Knock Detecting Door Lock.

License

YLTapPatternRecognizer is available under the MIT license. See the LICENSE file for more info.