Created
July 21, 2014 16:41
-
-
Save zaneclaes/3631927a0e50259b53ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__weak typeof (self) wself = self; | |
[self runRequest:request handler:^(NSError *err) { | |
__strong typeof (wself) sself = wself; | |
__weak typeof(sself) wself2 = sself; | |
[sself runSecondRequest:data handler:^(NSError *err) { | |
__strong typeof (wself2) sself2 = wself2; | |
[sself2 doStuff]; | |
}]; | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment