~/talk

Swift and You

Talkat #Pragma Conference 2023 · 2023-10-05..10-06· [swift]
slides:none on file

Argues that Swift’s language features do real work: a tiny SwiftUI counter actually uses struct value types, @State property wrappers, opaque return types (some View), result builders, type inference and implicit self capture. Shows fixes: add @ViewBuilder to resolve opaque-return mismatches, use checked throwing continuation to bridge legacy completion-handler networking to async/await, and confine concurrency with Task plus mainActor.run. Demonstrates dynamicMemberLookup to make enum+keypath APIs ergonomic.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:12Focus on Swift language
  3. 4:45SwiftUI simple view example
  4. 8:14Verbose alternative comparison
  5. 9:18Advanced features simplify APIs
  6. 9:59Opaque return types in SwiftUI
  7. 13:08Abstractions pros and cons
  8. 14:33Language features as abstractions
  9. 15:16Protocols vs enums for shared data
  10. 19:10Dynamic member lookup in enums
  11. 21:58Dynamic member lookup in SwiftUI
  12. 23:24When not to use dynamic member lookup
  13. 24:49Matching features to problems
  14. 25:10Syntax vs systems features
  15. 26:12Introducing Swift concurrency
  16. 28:21Backward compatibility with concurrency
  17. 29:22Integrating concurrency incrementally
  18. 31:26Main actor and threading
  19. 33:33Adopting core systems smoothly
  20. 34:15Discovering new Swift features
  21. 37:22Learning and adopting features
  22. 38:02Q&A and closing remarks
~/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.