On Oct 2, 2012, at 9:21 PM, [email protected] wrote:

> Only variables that are being modified by the block need to be declared with 
> the __block specifier. You shouldn't be declaring the underlying instance 
> variables as __block. You can mix and match ARC and non-ARC code. Google 
> should help you figure out how to do that as I can't give specific 
> instructions off the top of my head.

Thanks, I'll Google for some examples. For now, I still get an EXC_BAD_ACCESS 
(code=13, address = 0x0) error in one of the threads after several iterations. 
Some more digging reveals:*** -[MyObject setPosition:]: message sent to 
deallocated instance 0x1075a6480. This address is the current MyObject, and 
only one is created during each iteration.

It's all very confusing still.  I'll keep looking.


- Koen.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to