1.主题目录
把Xcode
主题文件拷贝到/Users/ksnowlv/Library/Developer/Xcode/UserData/FontAndColorThemes
目录下。

那以dvtcolortheme
格式是什么文件呢?iOS/Mac OS中的plist
,实质xml文件。
打开Anubis.dvtcolortheme
文件,其内容如下(部分内容限于篇幅省略…):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.7653 0.699234 0.758969 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Menlo-Regular - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0.6431 0.5881 0.637824 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>Menlo-Regular - 11.0</string>
...
<dict>
<key>xcode.syntax.attribute</key>
<string>0.335 0.456 0.488 1</string>
<key>xcode.syntax.character</key>
<string>0.616 0.499 0.951 1</string>
<key>xcode.syntax.comment</key>
<string>0.651579 0.600072 0.644145 1</string>
...
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>SourceCodePro-Regular - 12.0</string>
<key>xcode.syntax.character</key>
<string>SourceCodePro-Regular - 12.0</string>
...
</dict>
</dict>
</plist>
|
2.常用的Xcode主题










文章作者
梵梵爸
上次更新
2014-08-29
许可协议
原创文章,如需转载请注明文章作者和出处。谢谢