• 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: Object is not reachable from this managed object context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object is not reachable from this managed object context


  • Subject: Re: Object is not reachable from this managed object context
  • From: Hal Mueller <email@hidden>
  • Date: Thu, 16 Oct 2008 21:13:17 -0700

It looks to me like you are sharing one MOC between two threads (the web service update worker thread and the main thread). You need two MOC's. Write from the worker thread to the worker thread's MOC, then tell the main thread to refresh.

Hal

_______________________________________________

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: Object is not reachable from this managed object context
      • From: Lakshmi Vyasarajan <email@hidden>
References: 
 >Object is not reachable from this managed object context (From: Lakshmi Vyasarajan <email@hidden>)

  • Prev by Date: Re: Objective 2.0 properties
  • Next by Date: Re: Calling UNIX command from Cocoa
  • Previous by thread: Object is not reachable from this managed object context
  • Next by thread: Re: Object is not reachable from this managed object context
  • Index(es):
    • Date
    • Thread