Better late than never.
UIPanGestureRecognizer has a translation(in:) func with view parameter. Does someone know why it parameter there?
I've tried different values of this parameter - nil, window, superview, view but the func always returns the same value. Is there some case when it different?
Regarding apple documentation view parameter is The view in whose coordinate system the translation of the pan gesture should be computed. So, what does it mean?
Just in case it works fine. Usually I use view as a parameter that has pan gesture but I want to know:)
UPD: Same situation with velocity(in:) parameter of UIPanGestureRecognizer.