You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If code is masked with #ifdefs, all classes in the nonactive parts will be colored. See the attached screenshot taken by creating an empty project, copying one method and disabling the code block.
UIApplication, NSDictionary, UIScreen, and UIColor are colored.
I have no idea, if it is possible, but it would be great, if the unused code is greyed out.
I tried to come up with a clever solution around this by looking at the parents of it, but this seems to be an issue with Xcode's parser marking all sub-items in a preprocessor conditional as an identifier. Not sure what the answer is here.
Activity
kolinkrewinkel commentedon Mar 21, 2015
I tried to come up with a clever solution around this by looking at the parents of it, but this seems to be an issue with Xcode's parser marking all sub-items in a preprocessor conditional as an identifier. Not sure what the answer is here.