AppleNSEvent - UBogun/Xojo-iosLib GitHub Wiki
Inherits from AppleObject
Memory leak check: n/a
Status: complete
Available since iOS 9.1
This is an implementation of UIEvent, a class for informing about the Gesture and other events. Don't be confused by the name – AppleEvent is a Xojo class too so I took the OS X name for compatibility.
Constructors
no constructor You receive AppleNSEvent objects from system functions.
Properties
AllTouches As Appleset (read-only): Returns all touch objects associated with the receiver.
SubType As UIEventSubtype (read-only): The subtype of the event.
Timestamp As Double (read-only): The time when the event occurred. Reference is system startup time.
Type As UIEventType (read-only): The type of the event.
##Methods TouchesForGestureRecognizer (Recognizer As AppleGestureRecognizer) As AppleSet: Returns the touch objects that are being delivered to the specified gesture recognizer.
TouchesForView 8View As AppleView) As AppleSet: A set of UITouch objects representing the touches for the specified view related to the event represented by the receiver.
TouchesForWindow (Window As AppleWindow) As AppleSet: Returns the touch objects that belong to a given window for the event represented by the receiver.
##Enumerations See Data Types