Skip to content

Instantly share code, notes, and snippets.

@nishabe
Last active August 12, 2018 18:21
Show Gist options
  • Save nishabe/e8865abe729e5b99e2068564ec5f77f6 to your computer and use it in GitHub Desktop.
Save nishabe/e8865abe729e5b99e2068564ec5f77f6 to your computer and use it in GitHub Desktop.
OBJC: Suppress a specific compiler warning
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
// Your code here
#pragma clang diagnostic pop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment