Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode syntax color coding explained?

Tags:

xcode

xcode3.2

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!

like image 376
Slee Avatar asked Jun 18 '10 01:06

Slee


2 Answers

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

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

like image 178
Paul R Avatar answered Sep 17 '22 23:09

Paul R


In XCode 12.3 the heading is Themes rather than Fonts & Colours

like image 43
SimonKravis Avatar answered Sep 18 '22 23:09

SimonKravis