• 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: CoreData async fetch request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: CoreData async fetch request


  • Subject: RE: CoreData async fetch request
  • From: Frederick Bartram <email@hidden>
  • Date: Sat, 3 Oct 2009 11:08:32 -0400

Is there a way to do an asynchronous fetch request against Core data
returning partial results?
Try spawning the fetch in a background thread. There is an example of this in the CoreData sample project 'BackgroundFetching'. You will need to read up on the threading issues as in "don't share contexts!", "share coordinators."

I've used it the past for handling large/slow fetch requests.
gl.

Rick Bartram
*-------------------------------------------------
* Stop spam before it gets to your mailbox! Support blocklists.
* I use http://www.spamcop.net/.
* my PGP key id: 0x63fa758 keyserver: http://keyserver1.pgp.com
*/

_______________________________________________

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: memory advice for still learning coder
  • Next by Date: whether to use core data...
  • Previous by thread: Re: CoreData async fetch request
  • Next by thread: re: CoreData async fetch request
  • Index(es):
    • Date
    • Thread