~/talk

Core Data Custom Store

Talkat FrenchKit 2017 · 2017-09-22..09-23· [databases]
name:Rew Islam
github:irew
slides:none on file

Explains when to build a custom Core Data store and what actually gets implemented: NSAtomicStore loads and saves an in‑memory cache via load/save/newCacheNode so small datasets (Dashlane’s encrypted passwords and cards) fit and use SQLCipher as the backing DB, while NSIncrementalStore implements execute and newValuesForObject to fetch IDs and fill faults incrementally, trading much higher implementation cost for tunable performance; documentation is flaky but the approaches do work in production.

AI-written summary · about

  1. 0:00Core Data custom stores intro
  2. 1:05Why build a custom store type
  3. 2:31Atomic vs incremental stores
  4. 3:59Atomic stores and cache nodes
  5. 7:35NSIncrementalStore methods & faults
  6. 11:58Pros and cons of custom stores
  7. 13:23Custom store learning resources
  8. 14:10Q&A: Replacing Core Data
  9. 15:23Q&A: Dashlane’s encrypted store
  10. 16:06Q&A: REST API custom store
  11. 17:10Q&A: Propagating object updates
  12. 18:15Q&A: Core Data threading & container
  13. 19:45Q&A: Avoid sync data fetching
  14. 20:30Q&A: Writing data via context
~/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.