Re: core data, refreshObject, multiple threads

2008-12-07 Thread Steve Steinitz
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

Re: core data, refreshObject, multiple threads

2008-12-07 Thread Chris Idou
--- On Sun, 7/12/08, John Clayton <[EMAIL PROTECTED]> wrote: > From: John Clayton <[EMAIL PROTECTED]> > Subject: Re: core data, refreshObject, multiple threads > To: [EMAIL PROTECTED] > Cc: cocoa-dev@lists.apple.com, "Steve Steinitz" <[EMAIL PROTECTED]> &g

Re: core data, refreshObject, multiple threads

2008-12-07 Thread John Clayton
ply dealloc them, or in the case of garbage collection, just throw them away? Usually database type interfaces require some kind of close API --- On Fri, 5/12/08, Steve Steinitz <[EMAIL PROTECTED]> wrote: From: Steve Steinitz <[EMAIL PROTECTED]> Subject: Re: core data

Re: core data, refreshObject, multiple threads

2008-12-07 Thread Chris Idou
rsistentStoreCoordinator or close a NSManagedObjectContext. Does one simply dealloc them, or in the case of garbage collection, just throw them away? Usually database type interfaces require some kind of close API --- On Fri, 5/12/08, Steve Steinitz <[EMAIL PROTECTED]> wrote: > From: Steve Steinitz

Re: core data, refreshObject, multiple threads

2008-12-05 Thread Steve Steinitz
Hi Chris, On 5/12/08, Chris Idou <[EMAIL PROTECTED]> wrote: I've got a main thread that handles a gui, and a worker thread with its own persistentStoreCoordinator and managedObjectContext. The gui notifies the worker thread of a change, passing it an objectID, and the worker thread gets the