~/talk

Speed up your Core Data Stack in 10 Minutes

Talkat AltConf 2019 · 2019-06-03..06-06· [databases]
links:none on file
slides:none on file

Shows how to run an NSBatchDeleteRequest on a background context, set the result type to return object IDs, build a changes dictionary and call NSManagedObjectContext.mergeChanges(fromRemoteContextSave:into:) so the main UI context sees deletions without blocking. Notes that batch deletes write synchronously to the store so merging is mandatory. Recommends a private background context parented to the main context (or a persistent coordinator pattern) so heavy fetch/delete work moves off the main thread and UI stays responsive.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Why Core Data is hated
  3. 1:55Why Core Data is good
  4. 3:46Core Data Stack
  5. 6:38Batch Delete
~/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.