Skip to content

Instantly share code, notes, and snippets.

@rknLA
Created October 2, 2015 14:41
Show Gist options
  • Save rknLA/0f9439305f487cf705a0 to your computer and use it in GitHub Desktop.
Save rknLA/0f9439305f487cf705a0 to your computer and use it in GitHub Desktop.
touch pressure logs
touches began:
[<UITouch: 0x1375295e0> phase: Began tap count: 1 window: <UIWindow: 0x1376422c0; frame = (0 0; 667 375); autoresize = W+H; gestureRecognizers = <NSArray: 0x13762fe90>; layer = <UIWindowLayer: 0x1376422a0>> view: <TouchCanvas.CanvasView: 0x1375544d0; frame = (0 0; 667 375); autoresize = W+H; layer = <CALayer: 0x137554ef0>> location in window: {507.5, 172} previous location in window: {507.5, 172} location in view: {507.5, 172} previous location in view: {507.5, 172}]
touch pressure: 0.366666666666667
touch pressure: 0.95
touch pressure: 1.73333333333333
touch pressure: 2.43333333333333
touch pressure: 3.0
touch pressure: 3.36666666666667
touch pressure: 3.53333333333333
touch pressure: 3.55
touch pressure: 3.46666666666667
touch pressure: 3.06666666666667
touch pressure: 2.48333333333333
touch pressure: 1.81666666666667
touch pressure: 1.16666666666667
touch pressure: 0.0666666666666667
touches ended:
[<UITouch: 0x1375295e0> phase: Ended tap count: 1 window: <UIWindow: 0x1376422c0; frame = (0 0; 667 375); autoresize = W+H; gestureRecognizers = <NSArray: 0x13762fe90>; layer = <UIWindowLayer: 0x1376422a0>> view: <TouchCanvas.CanvasView: 0x1375544d0; frame = (0 0; 667 375); autoresize = W+H; layer = <CALayer: 0x137554ef0>> location in window: {507.5, 172} previous location in window: {507.5, 172} location in view: {507.5, 172} previous location in view: {507.5, 172}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment