分享一个不错的Xcode主题
效果如下:
- 先 Clone 主题到本地
git clone https://github.com/johnsundell/xcodetheme.git
- 把主题
SundellsColors.xccolortheme
copy 到
/Users/kare/Library/Developer/Xcode/UserData/FontAndColorThemes
- 下载最新的字体
https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
- 把字体 Copy 到
~/Library/Fonts
Done !
在安装的时候 字体(SourceCodePro-Regular.ttf)可能不好找,但是看源码则可以知道 这里有个下载地址 https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip 这个地址可以找到这个字体。 但是当您把字体移动到 ~/Library/Fonts 时,有可能加载不了这个字体。这时,你只需双击字体,然后安装字体到系统,然后在Xcode中选中这个字体即可。