Theming the Code Editor
How’s your eyesight? How big is your screen? What’s the lighting like in your room? All of these factors will play into what you want source code to look like when you’re editing it.
Xcode lets you customize fonts, sizes, and colors, packaging up related settings as themes. Visit the themes interface by bringing up Xcode’s Preferences and selecting the “Fonts & Colors” tab. The theme editor is shown in the figure.
The left column lists the available themes, with the current theme highlighted. By default, you’ll get “Default”, which uses a white background, primary colors, and the font SF Mono Regular.
The right side of the editor shows the styling for every kind of syntax that Xcode knows how to style. You can choose ...
Get Xcode Treasures now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.