One Logo Pool Ball
UIKit · IOS API REFERENCE

UIEvent

class · iOS 2.0+ · SDK 27.1

@MainActor class UIEvent

Members (12)

method · iOS 9.0+

coalescedTouches

TypeScript
coalescedTouches(touch: UITouch): Promise<(Array<UITouch>) | null>
Swift declaration
func coalescedTouches(for touch: UITouch) -> [UITouch]?
init

init

TypeScript
static init(): Promise<UIEvent>
Swift declaration
init()
method · iOS 9.0+

predictedTouches

TypeScript
predictedTouches(touch: UITouch): Promise<(Array<UITouch>) | null>
Swift declaration
func predictedTouches(for touch: UITouch) -> [UITouch]?
method · iOS 3.2+

touches

TypeScript
touchesFor(gesture: UIGestureRecognizer): Promise<(Array<UITouch>) | null>
Swift declaration
func touches(for gesture: UIGestureRecognizer) -> Set<UITouch>?
method · iOS 2.0+

touches

TypeScript
touchesFor92809(view: UIView): Promise<(Array<UITouch>) | null>
Swift declaration
func touches(for view: UIView) -> Set<UITouch>?
method · iOS 2.0+

touches

TypeScript
touchesFor41130(window: UIWindow): Promise<(Array<UITouch>) | null>
Swift declaration
func touches(for window: UIWindow) -> Set<UITouch>?
get · iOS 2.0+

allTouches

TypeScript
get allTouches(): Promise<(Array<UITouch>) | null>
Swift declaration
var allTouches: Set<UITouch>? { get }
get · iOS 13.4+

buttonMask

TypeScript
get buttonMask(): Promise<UIEvent_ButtonMask>
Swift declaration
var buttonMask: UIEvent.ButtonMask { get }
get · iOS 13.4+

modifierFlags

TypeScript
get modifierFlags(): Promise<UIKeyModifierFlags>
Swift declaration
var modifierFlags: UIKeyModifierFlags { get }
get · iOS 3.0+

subtype

TypeScript
get subtype(): Promise<UIEvent_EventSubtype>
Swift declaration
var subtype: UIEvent.EventSubtype { get }
get · iOS 2.0+

timestamp

TypeScript
get timestamp(): Promise<number>
Swift declaration
var timestamp: TimeInterval { get }
get · iOS 3.0+

type

TypeScript
get type(): Promise<UIEvent_EventType>
Swift declaration
var type: UIEvent.EventType { get }

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →