Thanks for this. I'd like to try using the Document object that owns the
itemStore. The itemStore objects are created by the Document object in a loop
as part of a dispatch_async GCD block. The itemStores' workers have a reference
to the Document object. But since the itemStore objects are creat
Wouldn’t be possible to implement dealloc in that class and put an NSLog call
there? Of course, in an ARC project, you wouldn’t call [super dealloc] but
would that cause a problem?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://www.nemesys-
On Aug 20, 2013, at 2:32 PM, Diederik Meijer | Ten Horses wrote:
> Is there any way to NSLog the destruction of the itemStore object?
Sure, but you'll save a lot more time if you use Instruments to track object
lifetimes - it'll show you who does own the object and keeps you from hitting
deall
Apologies, no need to respond, I have just fixed this..
Op Aug 20, 2013, om 11:32 PM heeft Diederik Meijer | Ten Horses
het volgende geschreven:
> Dear list,
>
> I have the following structure:
>
> An itemStore object creates a worker object (property of itemStore object)
> that hold a wea
On Aug 20, 2013, at 4:32 PM, Diederik Meijer | Ten Horses wrote:
> An itemStore object creates a worker object (property of itemStore object)
> that hold a weak reference back to the itemStore object;
> When the worker classes is done, it sets the itemStore object (of which the
> worker class it
On 20 Aug 2013, at 23:32, Diederik Meijer | Ten Horses
wrote:
> Dear list,
>
> I have the following structure:
>
> An itemStore object creates a worker object (property of itemStore object)
> that hold a weak reference back to the itemStore object;
> When the worker classes is done, it sets
Dear list,
I have the following structure:
An itemStore object creates a worker object (property of itemStore object) that
hold a weak reference back to the itemStore object;
When the worker classes is done, it sets the itemStore object (of which the
worker class itself is a property) to nil.