开发者

xcode syntax color coding explained?

开发者 https://www.devze.com 2023-01-04 02:09 出处:网络
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

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 lig开发者_开发技巧ht 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!


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

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


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


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

xcode syntax color coding explained?

0

精彩评论

暂无评论...
验证码 换一张
取 消