Core data question
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