~/talk

Advanced Drawing Techniques with UIBezierPath and Apple Pencil

Talkat 360iDev 2017 · 2017-08-13..08-16· [creative-coding]
links:none on file
slides:none on file

Walk-through code in Swift Playgrounds that actually builds a working drawing app using UIBezierPath and CAShapeLayer, showing line smoothing (quadratic/cubic choices and Catmull‑Rom mention), a measurable speed win by calling setNeedsDisplay(rect) instead of full redraw, and real Apple Pencil handling via touch.type == .stylus plus coalesced touches and predictive touches for low-latency rendering. Live demos show altitude/azimuth/force mapped to stroke width/shape, source code available, and the app successfully renders much smoother lines than naive point‑to‑point stroking.

AI-written summary · about

  1. 0:00Intro
  2. 0:15ADVANCED DRAWING TECHNIQUES WITH VIBEZIERPATH AND APPLE PENCIL
  3. 1:23VECTOR GRAPHICS
  4. 2:13VECTOR CURVES
  5. 3:15BÉZIER BASICS
  6. 5:38QUADRATIC BÉZIER CURVE
  7. 6:19LINEAR CURVE
  8. 6:32HIGHER ORDER BÉZIER CURVES
  9. 6:48MOST COMMON BÉZIER CURVES
  10. 7:13MORE BÉZIER RESOURCES
  11. 7:39VIBEZIERPATH - LINES
  12. 9:24UIBEZIERPATH - SHAPES
  13. 9:55UIBEZIERPATH - DASH
  14. 17:16NSBEZIERPATH
  15. 20:08TOUCHESBEGAN
  16. 22:25DRAWRECT
  17. 22:43PERFORMANCE PROBLEMS
  18. 23:32PATH VS. STROKE
  19. 27:52DRAWING DEMO
  20. 28:10A LINE SMOOTHING ALGORITHM
  21. 31:25OTHER SMOOTHING ALGORITHMS
  22. 34:34CASHAPELAYER - RESOURCES
  23. 35:03APPLE PENCIL TRICKS
  24. 35:14DETECT APPLE PENCIL
  25. 38:02PREDICTED TOUCHES
  26. 40:19ALTITUDE AND AZIMUTH
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.