Created
July 21, 2012 16:45
-
-
Save casademora/3156384 to your computer and use it in GitHub Desktop.
performSelector without ARC compiler warnings
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
- (id) performSelectorWithoutWarning:(SEL)selector; | |
{ | |
#pragma clang diagnostic push | |
#pragma clang diagnostic ignored "-Warc-performSelector-leaks" | |
return [self performSelector:selector]; | |
#pragma clang diagnostic pop | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks