re: Managed Object won't dealloc even after Hit with Kitchen Sink

2008-12-22 Thread Ben Trumbull
// Insert a Foo without telling the undo manager [undoManager disableUndoRegistration] ; Foo *foo = [[Foo alloc] initWithEntity:runEntity insertIntoManagedObjectContext:moc]; That's standard alloc/init. It's retained and needs a matching release from you. Whether or

Re: Managed Object won't dealloc even after Hit with Kitchen Sink

2008-12-22 Thread Jim Correia
On Dec 22, 2008, at 12:17 AM, Jerry Krinock wrote: REAL-LIFE PROBLEM In a managed memory application, I have a managed object which, besides its Core Data managed properties, has a single instance variable, a worker-kind of object which does some heavy lifting for it. So that this

Re: Managed Object won't dealloc even after Hit with Kitchen Sink

2008-12-21 Thread Quincey Morris
(Comments sprinkled through your long post) On Dec 21, 2008, at 21:17, Jerry Krinock wrote: REAL-LIFE PROBLEM In a managed memory application, I have a managed object which, besides its Core Data managed properties, has a single instance variable, a worker-kind of object which does some