| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Some answers from myself
But i have some problem to understand if I have to synchronize both MOC manually or not and how? i mean, should i insert in the main thread moc (using [moc1 insertObject:[moc1 objectWithID:objectId]]) the objects i inserted in the threaded moc (ie moc2, using insertNewObjectForEntityForName:inManagedObjectContext:) ? from what i have read on this list, i have to synchronize mocs, nothing is done for me.
From my test, to make the main thread array controller aware of the new objects, i have to use insertObject: on the moc1.
Aurelien
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >[CORE DATA] multithreading (From: Aurélien Hugelé <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.