~/talk

The Amazing Race; Performance of Standard iOS Elements & Tech

Talkat Swift & Fika 2018 · on Monday, 2018-09-10· [ios, web-performance]
slides:none on file

Benchmarks run on iPhone X iOS 11 show concrete tradeoffs: text rendering ranges from UITextView 27 ms down to core text as the fastest with UILabel 4.39 ms and textLayer/textKit in between; rounded corners drawn with Core Graphics ~2.4 ms beat some layer masks, but shouldRasterize increases cost; shadow via image is slowest while layer+shadowPath is faster; Auto Layout (14 ms) and UIStackView (12 ms) are much slower than manual layout (manual layout 1.7 ms). Measure on device and pick Core Graphics/Core Animation when UIKit overhead matters.

AI-written summary · about

  1. 0:00Introduction to UI performance
  2. 1:50Text rendering approaches
  3. 4:46Performance measurement method
  4. 7:15Meditation break on rounded corners
  5. 8:00Rounded corners techniques
  6. 10:32Shadows in iOS design
  7. 12:17Combining shadows and corners
  8. 14:45Layout strategies compared
  9. 16:51When performance matters
  10. 17:53Conclusion and takeaways
~/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.