Last active
December 12, 2016 10:01
-
-
Save XueshiQiao/5918651 to your computer and use it in GitHub Desktop.
Disable warning "PerformSelector may cause a leak because its selector is unknown"
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
//disable warning:"PerformSelector may cause a leak because its selector is unknown" | |
#pragma clang diagnostic push | |
#pragma clang diagnostic ignored "-Warc-performSelector-leaks" | |
[self.delegate performSelector:self.selector]; | |
#pragma clang diagnostic pop | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from StackOverflow