• 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: How to use CoreData with multiple threads and ManagedObjectContexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use CoreData with multiple threads and ManagedObjectContexts


  • Subject: Re: How to use CoreData with multiple threads and ManagedObjectContexts
  • From: Matt Ronge <email@hidden>
  • Date: Sun, 27 Nov 2005 01:19:59 -0600

See /Developer/Examples/CoreData/BackgroundFetching for an example of how to work with multiple contexts in multiple threads, and how to do change propagation yourself. The short summary is to use an SQLite persistent store, save the context where you make the changes, send the object IDs for changed objects to your other thread, and have the other thread refresh its objects with those IDs.

I just looked in my developer/examples folder and I am unable to find the BackgroundFetching sample code. I also did a google search and I searched Apples dev site as well. Am I missing something? Does it have a different name?


Thanks,
--
Matt Ronge
www.theronge.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to use CoreData with multiple threads and ManagedObjectContexts
      • From: Shawn Erickson <email@hidden>
    • Re: How to use CoreData with multiple threads and ManagedObjectContexts
      • From: Peter Sampson <email@hidden>
References: 
 >How to use CoreData with multiple threads and ManagedObjectContexts (From: Matt Ronge <email@hidden>)
 >Re: How to use CoreData with multiple threads and ManagedObjectContexts (From: Chris Hanson <email@hidden>)

  • Prev by Date: ... "Copy" Managed Object in Core Data ...
  • Next by Date: Re: How to use CoreData with multiple threads and ManagedObjectContexts
  • Previous by thread: Re: How to use CoreData with multiple threads and ManagedObjectContexts
  • Next by thread: Re: How to use CoreData with multiple threads and ManagedObjectContexts
  • Index(es):
    • Date
    • Thread