Snow Leopard, core data, read only and multiple threads
Snow Leopard, core data, read only and multiple threads
- Subject: Snow Leopard, core data, read only and multiple threads
- From: Chris Idou <email@hidden>
- Date: Sun, 27 Sep 2009 06:56:25 -0700 (PDT)
I've got an app that worked on Leopard. I ported it to Snow Leopard SDK 10.6, and now it works on Snow Leopard, but it doesn't work correctly on Leopard anymore. I haven't changed anything that ought to affect this.
It's an app with a foreground gui that writes an XML coredata store. A background thread reads the repository and takes action. Both threads have the full core data stack with their own coordinators. As soon as I activate the background thread, the XML store gets set to zero bytes.
When I encountered the problem I read the doco and I added the NSReadOnlyPersistentStoreOption when calling addPersistentStoreWithType in the background thread, but that hasn't helped. It wasn't necessary before.
Has anyone got any thoughts?
And also, how am I going to debug this? Xcode 3.2 doesn't run on 10.5 does it? And is an Xcode 3.2 project now going to work with XCode 3.1?
__________________________________________________________________________________
Get more done like never before with Yahoo!7 Mail.
Learn more: http://au.overview.mail.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden