Created
July 28, 2013 13:59
-
-
Save ElDragonRojo/6098675 to your computer and use it in GitHub Desktop.
Suppress the warning clang emits about PerformSelector. If you'd rather use a selector name, replace `@selector(selectorName:)` with `NSSelectorFromString(selectorName)`
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
#pragma clang diagnostic push | |
#pragma clang diagnostic ignored "-Warc-performSelector-leaks" | |
[self performSelector:@selector(selectorName:) withObject:nil]; | |
#pragma clang diagnostic pop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment