magicalpanda/MagicalRecord — Issue #109: Forced to use `saveDataInBackgroundWithBlock` in iOS 5?
Author: XMLSDK
Created: 2011-12-13 08:36:36+00:00
State: open

The changes in `contextThatNotifiesDefaultContextOnMainThread` created with `NSPrivateQueueConcurrencyType` seems does not reflect in the main context.
My setup: iOS5 iPad Simulator, NO ARC, `kCFCoreFoundationVersionNumber`=675.0, Xcode 4.2.1 (4D502), LLVM GCC 4.2
When I change `kCFCoreFoundationVersionNumber` to 9999.0 and use back the old `notifiesMainContextOnSave`, every thing is OK.
My original code does not use `saveDataInBackgroundWithBlock`. It saves changes in another background thread. And changes merge back to main context in old days.

Is that we are forced to use `saveDataInBackgroundWithBlock` in iOS 5 with MagicalRecord? This hardcoded option `NSPrivateQueueConcurrencyType` forces us to rewrite codes (with block).