• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Should I learn CoreData for this project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Should I learn CoreData for this project?
      • From: Chris Hanson <email@hidden>
References: 
 >Should I learn CoreData for this project? (From: David Hirsch <email@hidden>)
 >Re: Should I learn CoreData for this project? (From: Kai Brüning <email@hidden>)
 >Re: Should I learn CoreData for this project? (From: Ruotger Skupin <email@hidden>)
 >Re: Should I learn CoreData for this project? (From: Kai Brüning <email@hidden>)

  • Prev by Date: Re: Font experts: How to determine if a glyph is available for a particular character
  • Next by Date: Re: NSValueTransformer problem with NSTextField update
  • Previous by thread: Re: Should I learn CoreData for this project?
  • Next by thread: Re: Should I learn CoreData for this project?
  • Index(es):
    • Date
    • Thread