Instance Method


Returns the point computed as the current position of the touch event.


func locationInObject() -> CGPoint

Return Value

A point in the local coordinate system of the associated interface object.


If multiple touches were detected, this method returns the location of only the first one.

See Also

Getting the Touch Information

func objectBounds() -> CGRect

Returns the dimensions of the interface object (measured in points) associated with the gesture recognizer.