~/talk

How CGAffineTransform actually works — Swift engineer’s guide

TalkinJapaneseat iOSDC Japan 2020 · 2020-09-19..09-21· [swift]
links:none on file
slides:none on file

Explains how CGAffineTransform works in UIKit for Swift engineers, detailing how scale, rotation and other transform initializers map to the matrix components a, b, c, d, tx, ty. Uses basic linear algebra (only arithmetic) to show why combined transforms can behave unexpectedly and how to interpret and predict transform results.

AI-written summary · about

  1. 0:00Introduction
  2. 2:04What is CGAffineTransform
  3. 4:57Affine as matrix ops
  4. 7:34Matrix multiplication
  5. 10:113x3 matrices for affine
  6. 12:08Order matters
  7. 15:27Reverse order quirk
  8. 17:43Fixing reverse order with concat
  9. 18:26Summary
~/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.