To solve retain cycle leak using self inside blocks

Posted by Daniel Vela on July 6, 2015
__weak id weakSelf = self;
[someObject someMethodWithBlock:^{    
[weakSelf someOtherMethod];
}]