Re: Capturing 'self' strongly in this block is likely to lead to a retain cycle

2012-07-10 Thread rols
On 09.07.2012, at 18:03, Fritz Anderson wrote: You can break this by having a strong reference to self that the block can manage independently. __block MyClass * blockSelf = self; [self.operationQueue addOperationWithBlock:^{ [blockSelf bar]; blockSelf = nil; }];

Re: Crash when calling va_arg()

2012-07-04 Thread rols
/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/rols