• 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
Core data question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core data question


  • Subject: Core data question
  • From: Walt Horat <email@hidden>
  • Date: Thu, 22 Mar 2007 17:44:29 -0700

I have an CD app. that launches a several long running threads to load data into its model.

I create the NSPersistentStoreCoordinator in my app's primary controller class, handing it off to the threads who each create their own NSManagedObjectContext. After the save, I send a notification back to the controller (using performSelectorOnMainThread) to have it re-fetch its objects from the model.

This much seems to work, however...

For debugging purposes, I have a tabbed window with numerous list views onto the model - 100% bindings, no code involved. It isn't pretty to look at 80 columns in a table view, but it's immensely helpful nonetheless. How in the devil to I convince these bound views to update from the persistent store when the threads save/notify?


Walt ---

_______________________________________________

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: Core data question
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: NSMutableDictionary Memory Question
  • Next by Date: Re: Core data question
  • Previous by thread: more efficient way to get CGImageRef from NSBitMapImageRep *
  • Next by thread: Re: Core data question
  • Index(es):
    • Date
    • Thread