How to determine if a C ++ character is #defined in Xcode

I use Visual C ++, which makes it very clear in the block #ifdefif the block is compiled or not.

Does this also make Xcode (3), I have not seen how?

+3
source share
1 answer

Take a look at the following screenshot.

enter image description here

As you can see, Xcode 4 does not apply syntax coloring in parts that will not be compiled.

+3
source

All Articles