• 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 - trying to avoid separate thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData - trying to avoid separate thread


  • Subject: CoreData - trying to avoid separate thread
  • From: Richard Salvatierra <email@hidden>
  • Date: Thu, 4 Jan 2007 14:34:12 -0500

I am trying to add to a managedContext during the import of files. When I do this in a separate thread, there are unexpected behaviors (display pattern does not update).
I am trying to avoid using a separate thread, but I do want the user to be able to cancel the import while in process. If I am in a while loop (while files are importing) how can I check for user input (i.e. mousedown on cancel button)
-Rich
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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: CoreData - trying to avoid separate thread
      • From: Chris Suter <email@hidden>
  • Prev by Date: Why is my document not always marked as modified after a save?
  • Next by Date: Re: Dirty document at startup
  • Previous by thread: Re: Why is my document not always marked as modified after a save?
  • Next by thread: Re: CoreData - trying to avoid separate thread
  • Index(es):
    • Date
    • Thread