Re: Should I learn CoreData for this project?
Re: Should I learn CoreData for this project?
- Subject: Re: Should I learn CoreData for this project?
- From: Ruotger Skupin <email@hidden>
- Date: Tue, 10 Nov 2009 17:15:01 +0100
On 04.11.2009, at 12:15, Kai Brüning wrote:
>> 2. multithreaded core data is very hard to get right (multiple contexts, data merges)
>
> Isn’t this true for multi threaded code in general?
> Seriously, the documentation explains how to structure multi threaded use of Core Data. This might even save you some pitfalls compared with a "naive" approach to multi-threading a model.
True, but as I found out the hard way, using Core Data multithreaded and Bindings at the same time is a very bad idea and will lead you into a world of pain.
Or as the documentation cautiously puts it:
"For the most part, the Application Kit is not thread safe; in particular, Cocoa bindings and controllers are not thread safe—if you are using these technologies, multi-threading may be complex."
Ruotger
_______________________________________________
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