Created
April 21, 2014 00:47
-
-
Save jeradesign/11129246 to your computer and use it in GitHub Desktop.
All four ways to suppress "unused parameter" warnings in Xcode 5.1.1
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
- (BOOL)application:(UIApplication * __unused)application openURL:(NSURL *__attribute__((unused)))url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { | |
#pragma unused(sourceApplication) | |
(void) annotation; | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment