News for hackers. Stuff that matters.
Re:Frustrated with iCloud, Apple’s developer community speak... by rbritton on Thursday March 28, 2013 @12:35PM (#5455865)
Adding on to your #3, concurrency became MUCH, MUCH easier in iOS 5. Core Data gained the concept of a background/main thread context and the two methods -performBlock: and -performBlockAndWait:. See: https://developer.apple.com/library/mac/ipad/#documentation/... and http://www.cocoanetics.com/2012/07/multi-context-coredata/
Re:Frustrated with iCloud, Apple’s developer community speak... by pifflesnort on Thursday March 28, 2013 @12:59PM (#5456064)
This requires performing all mutation on dedicated code paths. If you require non-asynchronous completion, you have to use the 'wait' variant, but this introduces deadlock risk between threads.

This in turn litters your code with Core Data isms, and means that one can not simply make use of their model as a standard in-memory model.

Compare to SQLite, where one can simply open and commit a transaction synchronously on any thread.

Re:Frustrated with iCloud, Apple’s developer community speak... by seivan on Thursday March 28, 2013 @01:23PM (#5456232)
Litters the code with Core Data ism? The same your code is littered with UIVism, NSFoundationsm and etc?

And yes, you can still not use a persistent store manage context on multiple queues.

Please stop using the word thread and use the word queue :)

Re:Frustrated with iCloud, Apple’s developer community speak... by pifflesnort on Thursday March 28, 2013 @01:32PM (#5456305)
> Litters the code with Core Data ism? The same your code is littered with UIVism, NSFoundationsm and etc?

The difference is that the 'model' is what binds all of your code together. The constraints of Core Data therefor introduce tightly bound constraints on all your code.

> Please stop using the word thread and use the word queue :)

Why? Queues are M:N mapped to threads, so they are still threads. Additionally, not all work is always done on queues, especially when working with legacy APIs.

Re:Frustrated with iCloud, Apple’s developer community speak... by phil on Thursday March 28, 2013 @12:56PM (#5456042)
Bingo. Core Data concurrency pretty much works these days.