Developing C# Apps for iPhone and iPad Using MonoTouch: iOS Apps Development for.NET Developers by Bryan Costanich
Author:Bryan Costanich
Language: eng
Format: mobi
Publisher: Apress®
Published: 2011-06-27T16:00:00+00:00
Listing 12–20. Enabling touch events even when a gesture recognizer is enabled
this._tapGesture.Recognizer.CancelsTouchesInView = false;
Creating a Custom Gesture
Although the built-in gesture recognizers cover a lot of the common tasks, sometimes you want to create a custom gesture recognizer that doesn't exist. For example, let's say you want to create a checkmark gesture, whereby a user makes a “V” with their finger. In this section you're going to learn how to do just that.
Creating a custom gesture recognizer is actually fairly easy if you understand the touch events, because it's little more than a wrapper around them. You simply inherit from UIGestureRecognizer, override the touch event methods, and then bubble up your recognition status via the base class' State property.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(15941)
The Mikado Method by Ola Ellnestam Daniel Brolund(13207)
Hello! Python by Anthony Briggs(13034)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(12219)
Dependency Injection in .NET by Mark Seemann(12064)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(10838)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(10657)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10537)
Grails in Action by Glen Smith Peter Ledbrook(10135)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(10023)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(9479)
Hit Refresh by Satya Nadella(9040)
Kotlin in Action by Dmitry Jemerov(8740)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(8646)
The Kubernetes Operator Framework Book by Michael Dame(8484)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8306)
Robo-Advisor with Python by Aki Ranin(8261)
Practical Computer Architecture with Python and ARM by Alan Clements(8232)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(8202)