Re: Crash when calling va_arg()

2012-07-04 Thread rols
usually NULL) to tell them to >> stop looking for parameters. The best-known exceptions are >> printf()-family functions, which know what to find on the stack because >> the format string tells them. >> >> — F >> >> -- >> Fritz Anderson >>

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

2012-07-09 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]; >> blockSel