Created
June 2, 2015 04:25
-
-
Save zld/5de8524089d313a980cf to your computer and use it in GitHub Desktop.
weak self for block
This file contains 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
#define ZLDWeak(agWeak,obj) __block __unsafe_unretained typeof (&*obj) agWeak = obj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment