~/talk

Swift 6, Async/Await, SwiftUI went into a Bar...

Talkat Swift Craft 2025 · 2025-05-19..05-21· [swift]
links:none on file
slides:none on file

Migrating a real app to Swift 6 and SwiftUI takes about a year and reveals concrete pitfalls: code often belongs on the main thread, not automatically moved to background; an actor-based image cache issues causes two loads instead of one because an await suspends and lets another caller run; fix is to track ongoing tasks and await them. The talk demos using async/await, actors, async stream with continuations for CoreLocation and explains the sendable box tradeoffs, plus using Instruments to decide what to offload.

AI-written summary · about

  1. 0:00Introduction and context
  2. 5:34Three core migration topics
  3. 6:42Revisiting the main thread
  4. 11:45Understanding await keywords
  5. 14:36Classes versus actors
  6. 19:23Reentrancy and cache bugs
  7. 25:04Async sequences for services
  8. 32:30Conclusion and Q&A
~/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.