Temporary disabling "Selector not found" warning in XCode


/ Published in: Objective C
Save to your folder(s)

Wrap the code into this snippet to disable undeclared selector warning


Copy this code and paste it in your HTML
  1. #pragma clang diagnostic push
  2. #pragma clang diagnostic ignored "-Wundeclared-selector"
  3.  
  4. //... your code here ...
  5.  
  6. #pragma clang diagnostic pop

URL: http://stackoverflow.com/a/10508084

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.