XCode Warning: "/* within block comment"
ios, xcode
Solution
I found a very nice alternative to:
/*
some code
/**/
You can just use this variant:
/*
some code
//*/
to achieve the same goal without any Xcode warnings!
Problem
I really like to temporary enable and disable code parts by commenting them this way: ``` /* some code /**/ ``` (Mind the /**/ instead of */ at the end) However, XCode keeps giving me the warning: ``` /* within block comment ``` Is there any way to "custom-disable" specific warnings? WHY? I will tell you why: Because I can easily take it in and out with only one character, without having to scroll down the block to take the "*/ in and out.