Yes I know that warnings are useful and should not be disabled and I usually correct all of them, but in XCode they mingle with my code and get on my nerves. I want to see w
In Xcode 8, you can hide the warning's messages in the editor by
Editor - Issues - (Select) Errors only or completely show/hide errors and warnings using "Hide All Issues" or use shortcut Ctrl + Cmd + M
I don't know if there are this option on Xcode 7, but in Xcode 8 just click at this icon on bottom at left side (blue icon) and it will filter only errors:
First of all, it's a really bad idea: warnings exist for a reason, you really should check each of them.
There are few ways to try.
Here you can change the Selected warnings to NO by selecting the dropdown.
I hope this may help you :)
Select your project and select your target and show Build Phases
. Search the name of the file in which you want to hide, and you should see it listed in the Compile Sources phase. Double-click in the Compiler Flags column for that file and enter -w
to turn off all warnings for that file. Hope it will help you.