~/talk

Under the hood: 3D transforms of iOS Views

Talkat SwiftLeeds 2023 · 2023-10-09..10-10· [ios, web-animation]
slides:none on file

Explains how iOS applies 4x4 matrices to every view point and shows the concrete CATransform3D matrices for translations, scales and rotations, including why the extra row/column is needed; demonstrates the practical effect of m34 for perspective; shows a small open‑source dev tool called the design reviewer that screenshots a view and applies these matrices interactively, reproducing Xcode’s debug view hierarchy behavior, runs on older phones (used successfully on an iPhone 8) and ships code and writeups.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:29Coordinate systems and Z-axis
  3. 8:28The role of matrix math
  4. 12:20Understanding translations
  5. 15:44Implementing scale transforms
  6. 18:45Rotations and trigonometry
  7. 25:38Advanced usage and conclusion
~/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.