• 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: Core data fetch and multithreading (sequel)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core data fetch and multithreading (sequel)


  • Subject: Re: Core data fetch and multithreading (sequel)
  • From: vincent habchi <email@hidden>
  • Date: Thu, 25 Nov 2010 22:09:39 +0100

Le 24 nov. 2010 à 05:53, Chris Hanson a écrit :

> If your code actually looks like this, it's a bug: You're using entityInMOC1 in another thread. Pass JUST its object ID, not the object itself, from one thread to the other.

Well, it turns out it is caused by something else. But never mind, I have pinpointed it and will investigate.

I had a further question: is there any possible way to force a newly created object in a MOC to be visible to other MOCs except a -save: operation? Suppose I have a single varying entity in a 1:n relationship to a set of a ten thousand, and I want to keep track of the changes in two separated MOCs. Surely, there has to be a more efficient way than -save: which will attempt to write to the disk each time it is called… Something in between. No?

Thanks,
Vincent_______________________________________________

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

References: 
 >Core data fetch and multithreading (From: vincent habchi <email@hidden>)
 >Re: Core data fetch and multithreading (From: Chris Hanson <email@hidden>)
 >Re: Core data fetch and multithreading (From: vincent habchi <email@hidden>)
 >Re: Core data fetch and multithreading (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Objective-C Mind Map Libraries
  • Next by Date: Re: Objective-C Mind Map Libraries
  • Previous by thread: Re: Core data fetch and multithreading
  • Next by thread: How to avoid multiple clicks on a push button
  • Index(es):
    • Date
    • Thread