Slide 1

Slide 1 text

7JTVBMJ[FZPVSUPVDIFT 5PVDI7JTVBMJ[FS QPUBUPUJQT

Slide 2

Slide 2 text

UXNPSJ[PUUFS HJUIVCNPSJ[PUUFS IUUQTXXXXBOUFEMZDPNVTFST -PWFUSBWFMMJOHBOE4FOUP

Slide 3

Slide 3 text

)PCCZ(JUIVCXPSLBOEUSBOTMBUJPO

Slide 4

Slide 4 text

Want to visualize touches at the presentation.

Slide 5

Slide 5 text

Easily. At once.

Slide 6

Slide 6 text

Because it is secondary task.

Slide 7

Slide 7 text

It’s just one line!

Slide 8

Slide 8 text

Optional

Slide 9

Slide 9 text

DEMO IUUQTXXXZPVUVCFDPNXBUDI W*2)SC+Q

Slide 10

Slide 10 text

Cocoapods & Carthage morizotter/TouchVisualizer

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Multiple fingers supported. Multiple UIWindows supported. Shows touch radius. Shows touch duration. Change colors and images of finger points.

Slide 13

Slide 13 text

How it works

Slide 14

Slide 14 text

Event dispatching T 1 T 2 T 3 T 1 T T1 T1 T T2 T2 T2 T2 T3 T3 T2 T3 T3 T UIWindow View Event Same instance

Slide 15

Slide 15 text

Code

Slide 16

Slide 16 text

Method Swizzling

Slide 17

Slide 17 text

Method Swizzling Swizzle only once 1 2

Slide 18

Slide 18 text

Method Swizzling Injection

Slide 19

Slide 19 text

Same UITouch object is coming from one finger. Event Handling

Slide 20

Slide 20 text

NSRunLoopCommonModes IUUQTUBDLPWFSqPXDPNB NSRunLoopCommonModes includes both the default and event tracking modes

Slide 21

Slide 21 text

End