Slee
Slee

Reputation: 28248

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!

Upvotes: 7

Views: 5867

Answers (3)

SimonKravis
SimonKravis

Reputation: 659

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

Upvotes: 2

Cody
Cody

Reputation: 4471

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

enter image description here

Upvotes: 0

Paul R
Paul R

Reputation: 212929

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

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

Upvotes: 11

Related Questions