Protocol for gesture recognizers to indicate that they remember the starting point of the first touch event they receive.
Helper for getting the actual initial starting point of the gesture.
Can be used instead of
locationInView:when in the UIGestureRecognizerStateBegan state, to get the location of the first touch the gesture received, instead of the location where the gesture has been detected as started.
NoteIf that point hasn’t been determined yet, falls back to the current location.
- (CGPoint)initialOrCurrentLocationInView:(nonnull UIView *)view;
func initialOrCurrentLocation(in view: UIView) -> CGPoint