objectBounds()
Returns the dimensions of the interface object (measured in points) associated with the gesture recognizer.
Declaration
func objectBounds() -> CGRectReturn Value
The bounding rectangle of the interface object to which the gesture recognizer is attached.
Discussion
You attach a gesture recognizer to a specific element in your storyboard file. At runtime, you use this property to get the dimensions of that element.