Search code examples
xcodexcode3.2

xcode syntax color coding explained?


Can anyone give me a quick rundown of the color syntax meanings in xcode?

I am running into some problems and understanding the color coding I am sure will help me out. Currently I have some variables that are light blue and I think they need to be black but I am not sure of the difference?

masterViewController=[[UINavigationController alloc] initWithDestination: destination];

I believe my masterViewController here should be colored black and not the light blue it is currently colored - I am assuming I defined or initialized something wrong somewhere.

First day in xCode so I am pretty damn confused!


Solution

  • Go to: Xcode => Preferences => Fonts & Colors

    You'll see that each syntax highlighting colour has a brief explanation next to it.