~/talk

Core Data for Fun and Profit

Talkat UIKonf 2013 · 2013-05-14..05-16· [ios, databases]
slides:none on file

Core Data is framed as an object‑graph manager not an SQL wrapper: model data to match the UI, subclass NSManagedObject for behavior, and use mutable ordered set for to‑many relationships so changes map to the store. Faulting and contexts drive performance: use one context per queue, call performBlock on background contexts, prefetch relationships, use fetch limits/counts and sorting in SQL. For large imports either ship a prebuilt SQLite or batch in 50–100 inserts with intermittent saves; avoid incremental store.

AI-written summary · about

  1. 0:00Introduction
  2. 1:57What is Core Data
  3. 3:24Core Data stack overview
  4. 5:15Managed objects explained
  5. 7:47Subclassing managed objects
  6. 14:51Faults and lazy loading
  7. 16:24Creating managed objects
  8. 17:28Entity vs class hierarchy
  9. 18:37Managed object contexts
  10. 23:36Fetch requests and performance
  11. 26:47Predicates and queries
  12. 28:56Top 3 performance issues
  13. 31:06Debugging Core Data
  14. 31:49Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.