Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
Visualize your touches
TouchVisualizer
potatotips#17
tw: morizotter
github: morizotter
https://www.wantedly.com/users/1208490
Love travelling and Sento.
Hobby: Github work and translation
Want to visualize
touches
at the presentation.
Easily.
At once.
Because it is
secondary task.
It’s just one line!
Optional
DEMO
https://www.youtube.com/watch?v=7IQ8H9rbJp8
Cocoapods & Carthage
morizotter/TouchVisualizer
Multiple fingers supported.
Multiple UIWindows supported.
Shows touch radius.
Shows touch duration.
Change colors and image...
How it works
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
Code
Method Swizzling
Method Swizzling
Swizzle only once
1
2
Method Swizzling
Injection
Same UITouch object is
coming from one finger.
Event Handling
NSRunLoopCommonModes
http://stackoverflow.com/a/4136988/1245142
NSRunLoopCommonModes includes
both the default and event tr...
End
Visualize your touch - TouchVisualizer
Próxima SlideShare
Cargando en…5
×

Visualize your touch - TouchVisualizer

686 visualizaciones

Publicado el

TouchVisualizer presentation at potatotips #17 held in Wantedly, Inc on May 13th 2015.

TouchVisualizer is a lightweight touch visualization library for iOS written in Swift.

https://github.com/morizotter/TouchVisualizer

Publicado en: Tecnología
  • Sé el primero en comentar

Visualize your touch - TouchVisualizer

  1. 1. Visualize your touches TouchVisualizer potatotips#17
  2. 2. tw: morizotter github: morizotter https://www.wantedly.com/users/1208490 Love travelling and Sento.
  3. 3. Hobby: Github work and translation
  4. 4. Want to visualize touches at the presentation.
  5. 5. Easily. At once.
  6. 6. Because it is secondary task.
  7. 7. It’s just one line!
  8. 8. Optional
  9. 9. DEMO https://www.youtube.com/watch?v=7IQ8H9rbJp8
  10. 10. Cocoapods & Carthage morizotter/TouchVisualizer
  11. 11. Multiple fingers supported. Multiple UIWindows supported. Shows touch radius. Shows touch duration. Change colors and images of finger points.
  12. 12. How it works
  13. 13. 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
  14. 14. Code
  15. 15. Method Swizzling
  16. 16. Method Swizzling Swizzle only once 1 2
  17. 17. Method Swizzling Injection
  18. 18. Same UITouch object is coming from one finger. Event Handling
  19. 19. NSRunLoopCommonModes http://stackoverflow.com/a/4136988/1245142 NSRunLoopCommonModes includes both the default and event tracking modes
  20. 20. End

×