~/talk

In defense of Core Data

Talkat try! Swift Tokyo 2019 · 2019-03-21..03-22· [swift]

Argues Core Data is practical today and demonstrates concrete fixes: use NSPersistentContainer for a few lines of setup, drive UI updates with NSFetchedResultsController, and avoid thread bugs with background contexts and automatic merges. Shows a conference sample app where naive traversal causes many cache misses (dozens of SQL hits) and prefetching collapses that to four queries. Covers instruments and Core Data debug flags for profiling, shows lightweight migrations work for simple model changes, and the example app functions as claimed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Agenda
  3. 2:08Core Data
  4. 5:46Fetch Results Controller
  5. 12:21MultiContext Setup
  6. 15:00Background Context
  7. 16:36Performance
  8. 17:26Fetch Request Optimization
  9. 18:55Prefetch
~/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.