• 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: Shawn Erickson <email@hidden>
  • Date: Sun, 27 Nov 2005 09:47:53 -0800


On Nov 26, 2005, at 11:19 PM, Matt Ronge wrote:

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?

I have Xcode 2.2 installed on my system and...

[G5:~] shawnce% ls /Developer/Examples/CoreData/BackgroundFetching/
BackgroundFetcher.h English.lproj
BackgroundFetcher.m GenerateBackgroundFetchingData
BackgroundFetching.xcodeproj Info.plist
BackgroundFetchingAppDelegate.h SharedConstants.h
BackgroundFetchingAppDelegate.m SharedConstants.m
BackgroundFetching_DataModel.xcdatamodel main.m
BackgroundFetching_Prefix.pch version.plist


- Shawn
_______________________________________________
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


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>)
 >Re: How to use CoreData with multiple threads and ManagedObjectContexts (From: Matt Ronge <email@hidden>)

  • Prev by Date: Re: CFSocket freezes
  • Next by Date: adding Columns to a NSTableView with bindings?
  • Previous by thread: Re: How to use CoreData with multiple threads and ManagedObjectContexts
  • Next by thread: ... "Copy" Managed Object in Core Data ...
  • Index(es):
    • Date
    • Thread