~/talk

The underestimated power of KeyPaths

Talkat dotSwift 2019 · on Monday, 2019-01-28· [swift]
slides:none on file

Swift 4 KeyPaths become actionable tools: a tiny prefix operator ^ operator converts a KeyPath into a getter so map and similar APIs accept backslash syntax; a small combinator on(keyPath: , by:) builds comparators from a KeyPath plus an optional comparator (defaults to <) so sorted yields concise, type‑safe ordering; a predicate builder produces NS‑predicate‑like filters; examples compile and run, reducing boilerplate while keeping type safety.

AI-written summary · about

  1. 0:00Start
  2. 0:17KeyPaths
  3. 1:19Let's introduce an operator!
  4. 2:22Just write another helper
  5. 3:45Conclusion
~/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.