~/talk

SwiftUI Meets Metal - Elevate Your UI Game

Talkat Swift Craft 2024 · 2024-05-21..05-24· [web-performance, creative-coding]
slides:none on file

Introduces using new iOS 17 view modifiers — ColorEffect, DistortionEffect, LayerEffect — to run Metal shaders from SwiftUI with far less glue code than a manual pipeline; shows concrete snippets (Metal Shading Language functions marked stitchable) that recolor a logo, convert images to black‑and‑white, draw an interactive “3D” dot field, pixelate textures over time, and create a touch‑driven donut wave that tints the underlying layer. Notes limits: works only on SwiftUI views, one texture parameter max, no Metal debugger for stitchable functions, and simple shaders run fast while complex ones degrade.

AI-written summary · about

  1. 0:00Introduction to Metal
  2. 8:24Color Effect Basics
  3. 12:17Recoloring Images
  4. 14:06Custom Drawing with Shaders
  5. 21:17Distortion Effect Explained
  6. 25:40Layer Effect and Wave Shader
  7. 34:15Summary and Limitations
  8. 37:48Next Steps and Resources
~/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.