~/talk

Swift as Light

Talkat try! Swift Tokyo 2019 · 2019-03-21..03-22· [swift]
slides:none on file

Builds an iOS pipeline for Glowforge that traces images and turns SVG groups into interactive coaster views, using CoreGraphics for Bezier paths, a flood‑fill region selection to find border pixels, 2D→1D buffer arithmetic to map touches to pixels, and a CGAffineTransform pivot fix (translate, apply transform, translate inverse) to align SVG origin rotations with iOS centers. Documents why CGPath bounding boxes misposition layers, how sublayer/subview placement and transforms get fixed, and why value types + unit and integration tests prevent destructive prints in production.

AI-written summary · about

  1. 0:00Intro
  2. 0:12The Glowforge
  3. 1:07Picture
  4. 1:26Vector Graphics
  5. 1:48Swift Coaster
  6. 2:25Fundamentals
  7. 2:57Owl Trace
  8. 3:09Trace: Adding Cut Outs
  9. 4:12Algorithm: Flood Filling
  10. 4:30Flood Filling: Recursive
  11. 4:43Pixels and Neighbors
  12. 6:21Coasters SVG
  13. 6:50Drag Group: Layer & Image
  14. 7:06Drag Group: Moving
  15. 8:11The Image
  16. 8:39Image Model
  17. 9:04Drag Group View
  18. 9:17Layer: Drawing and Positioning
  19. 9:42Way off
  20. 11:26Drag Group Image
  21. 11:36BitmapimageView: Transform
  22. 12:38Transformations: 15
  23. 13:19How do we fix?
  24. 13:48Moving Pivot: Center
  25. 14:55Safety
  26. 16:49Swift as Light
~/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.