~/talk

Modern Core Data

Talkat try! Swift Tokyo 2016 · 2016-03-10..03-12· [swift]
slides:none on file

Core Data can be modernized by small Swift wrappers that make it more readable and less error‑prone: uses protocol and protocol extensions to map entities to classes and to provide a one-line fetch request with default sort descriptors, replaces fragile string keys with a type-safe KVC pattern (nested enums + compiler-checked keys), supplies a generic ValueTransformer built from two closures, and adds trivial performChanges and managed-object observer helpers — these wrappers work and preserve Core Data’s original behavior.

AI-written summary · about

  1. 0:00Introduction
  2. 2:27Entities and Classes
  3. 5:16Key Value Coding
  4. 8:44Better Fetch Request
  5. 11:14Value Transformer
  6. 13:56Wrapping Blocks
  7. 15:46Notifications
  8. 16:36Observing Notifications
  9. 20:49Core Data withstructs
  10. 22:29Conclusion
~/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.