• 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
core data, refreshObject, multiple threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core data, refreshObject, multiple threads


  • Subject: core data, refreshObject, multiple threads
  • From: Chris Idou <email@hidden>
  • Date: Thu, 4 Dec 2008 17:55:24 -0800 (PST)

I've got a main thread that handles a gui, and a worker thread with its own persistentStoreCoordinator and managedObjectContext. The gui notifies the worker thread of a change, passing it an objectID, and the worker thread gets the object, and other objects it is connected to, and calls [managedObjectContext refreshObject: on them.

But they don't seem to get an updated object. I'm using the XML store. The store is saved, I've checked that the new values are in the XML. But refresh doesn't seem to update anything. Is there any trick to it?




      Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline
_______________________________________________

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

  • Prev by Date: Re: NSSocketPort == BSD Socket
  • Next by Date: Re: Custom Window Resize Image
  • Previous by thread: Re: NSSocketPort == BSD Socket
  • Next by thread: Re: core data, refreshObject, multiple threads
  • Index(es):
    • Date
    • Thread