I’m new to ARC. I want to call a method in a complete block, but I get the warning: Capturing ‘self’ strongly in this block is likely to lead to a retain cycle.. Code:
- (void) handlerComplete
{
//...
}
- (void) loadData
{
...
operation.completeBlock = ^(NSInteger index) {
[self handlerComplete];
};
}
Any advice? Thanks.
Try with