• 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
CoreData multiple contexts and threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData multiple contexts and threads


  • Subject: CoreData multiple contexts and threads
  • From: malcom <email@hidden>
  • Date: Sun, 13 Sep 2009 15:55:30 +0200

Hello, I have a stream of data (some messages) from a socket and I
need to save it in a CoreData db. I would to optimize this thing by
using more than a managedobjectcontext for each N messages arrived.
The problem is that I need to link these message between
(parent/childs). How can I check if a message exist in a context
without merge it with the main context? Need I to mantain an array of
active contexts and comunicate with them in order to search parents
and childs? If I merge each time with the main context it's a bit
slow.
Any idea?
thx
mlc
_______________________________________________

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: How to determine if a PDFPage is image based? (A scanned page)
  • Next by Date: Re: NSString and UIWebView load
  • Previous by thread: Re: How to determine if a PDFPage is image based? (A scanned page)
  • Next by thread: re: CoreData multiple contexts and threads
  • Index(es):
    • Date
    • Thread