OMEGA Team
Roadmap
Coredata
Multithread
Memory Management
Notification
MVC
OOP
Introduction
Roadmap
Coredata
Multithread
Memory Management
Notification
MVC
OOP
Introduction
Agenda
Core D ata basic
Concurrency problem s
Concurrency solutions
Agenda
Core D ata basic
Concurrency problem s
Concurrency solutions
Basically
A system to store data
Persistence agnostic (localstorage)
N o need to w rite SQ L to query
You can keep to O bjective C
Storage O ptions
Binary fi
le
In-m em ory
XM L
N ot available on the iPhone
SQ Lite
Custom
Core
Data
Bulk/Set
Operatio
ns
Yes
No
Automati
c object
populatio
n
No
Yes
Custom
SQL
Yes
No
Select
only
certain
Yes
No
Your tools
Single Context
Agenda
Core D ata basic
Concurrency problem s
Concurrency solutions
Problem s
Core D ata M anaged O bjects are not thread safe
M ust pass O bject ID s to use across threads
O bjects are locked for alloperations including read
O bjects that feed the U Im ust be fetched on the m ain thread
Agenda
Core D ata basic
Concurrency problem s
Concurrency solutions
TraditionalM ulti-Context
Pre-iO S 5: Thread Confi
n em ent
Single N SM anagedO bjectContext per thread
M anualnotifi
cations, m erging, and saving
Fairly easy to understand, but harder to m anage
TraditionalM ulti-Context
Stillblocking?
Stillblocking?
QA