~/talk

Ode to the Corner Radius API: A look at modern iOS design

Talkat Swift India Conference 2019 · on Sunday, 2019-07-28· [ux-and-product-design, ios]
slides:none on file

Explains that since iOS 11 Core Animation and Metal now handle rounded corners on the GPU so corner radius can be practically free when done right; shows two button implementations (pre-rasterized bitmap versus live clipping) and measures memory and off‑screen render costs, finds rasterizing images is costly and masksToBounds causes off‑screen passes, advises applying cornerRadius to the background layer (not the container) and only enabling masksToBounds when needed, and recommends the new continuous corner curve API for smoother shapes.

AI-written summary · about

  1. 0:00Introduction to corner radius
  2. 3:10Evolution of rounded corners
  3. 5:39Early corner radius attempts
  4. 8:17Core Animation Lab insights
  5. 10:23Optimal corner radius implementation
  6. 12:26App Store’s corner radius tricks
  7. 14:12UIButton corner radius pitfalls
  8. 15:57Lessons from open source project
  9. 16:20Best practices and mindset shifts
  10. 19:15Modern corner curve API
~/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.