Quantcast
Viewing all articles
Browse latest Browse all 10823

position vs deltaPosition: Units

Hi there,
I am just getting started with XCode and iOS inputs and am studying basic results.

Just doing a basic test of a swipe and comparing start.position and end.position vs start.deltaPosition and end.deltaPosition I am getting unexpected and to me at the moment, inexplicable results.

For example. A swipe from the bottom left corner to the top left corner of a profile held device yields these numbers...
start.position = (49, 57)
start.deltaPosition = (0, 0)

end.position = (35, 963)...

position vs deltaPosition: Units

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>