Link Search Menu Expand Document

Touch

An object representing the location, size, movement, and force of a touch occurring on the screen.

public class Touch 

Inheritance

Hashable

Properties

view

Getting the Location of a Touch The view to which touches are being delivered, if any.

public let view: View?

timestamp

Getting Touch Attriutes The time when the touch occurred or when it was last mutated.

public let timestamp: TimeInterval

Methods

hash(into:)

public func hash(into hasher: inout Hasher) 

Operators

==

public static func ==(_ lhs: Touch, _ rhs: Touch) -> Bool