NSMergeConflict CoreData Crash in iOS 7

I kept getting an error like this… NSCocoaErrorDomain Code=133020 “The operation couldn’t be completed. (Cocoa error 133020.)” UserInfo=0x1115a6d0 {conflictList=( “NSMergeConflict (0x1115a670) for NSManagedObject   I chased the bug for a while looking at all types of threading issues. In the end, it was just that my background context didn’t have a merge policy set on it… Read more about NSMergeConflict CoreData Crash in iOS 7[…]

Saving JSON to Core Data | Cocoa Is My Girlfriend

Tom Harrington post on CoreData/JSON conversion… You may know me as @atomicbird on Twitter. Just a few days ago my book Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (co-written with the excellent Tim Isted) was published, and Matt invited me to contribute some Core Data tips to CIMGF. Read more about Saving JSON to Core Data | Cocoa Is My Girlfriend[…]

iPhone Development: Using Core Data with iCloud

A couple of good, similar posts about getting your Core Data database in iCloud for apps… iOS How-To : Using Core Data with iCloud – Une goutte d’eau dans la mare du web. http://timroadley.com/2012/04/03/core-data-in-icloud/ These steps/methods are pretty much cut-and-paste but require some Provisioning Portal steps, etc. I had to remove the dispatch call… dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, Read more about iPhone Development: Using Core Data with iCloud[…]