6

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!

Slee
  • 27,498
  • 52
  • 145
  • 243
  • looks like it has something to do with variable scope, I believe my problems lie with my variables being out of scope – Slee Jun 18 '10 at 02:00

3 Answers3

11

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

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

Paul R
  • 208,748
  • 37
  • 389
  • 560
2

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

SimonKravis
  • 553
  • 1
  • 3
  • 24
0

As @Paul said, it's self-explaining in the Fonts & Colors

enter image description here

Cody
  • 4,353
  • 4
  • 39
  • 42