Instance Property

location

The location of the drag gesture’s current event.

Declaration

var location: CGPoint

See Also

State

var predictedEndLocation: CGPoint

A prediction, based on the current drag velocity, of where the final location will be if dragging stopped now.

var predictedEndTranslation: CGSize

A prediction, based on the current drag velocity, of what the final translation will be if dragging stopped now.

var startLocation: CGPoint

The location of the drag gesture’s first event.

var time: Date

The time associated with the drag gesture’s current event.

var translation: CGSize

The total translation from the start of the drag gesture to the current event of the drag gesture.