Re: core data, refreshObject, multiple threads
Re: core data, refreshObject, multiple threads
- Subject: Re: core data, refreshObject, multiple threads
- From: Steve Steinitz <email@hidden>
- Date: Mon, 8 Dec 2008 10:05:48 +1100
Hi Chris,
On 7/12/08, Chris Idou wrote:
I've even tried [managedObjectContext reset] and querying from the
beginning, but that doesn't seem to work either.
My experience has been that that works (at least in 10.5 with GC
activated). I'm no Cocaa memory management expert but I suppose
there could be a scenario where you would also have to release
and nil all the managed objects.
rebuilding the entire PersistentStoreCoordinator /
ManagedObjectContext stack as a way to get new data
I agree that one can get to that way of thinking after being
shunned by refreshObject etc :) However, I suggest fiddling a
little more with MOC reset, first -- its not as coy as refreshObject.
Cheers,
Steve
_______________________________________________
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