有用征服iOS

Xcode主题保护你

2016-04-16  本文已影响2827人  曾宪华

爱惜自己,开发虽然很累,爱护自己也是很重要的事情

原文点击这里:http://www.zengxianhua.com/2016/03/11/xcodezhu-ti-bao-hu-ni/

个人用了比较长时间的主题,如图

AssistYouScreenShot.jpg

Alcatraz

Xcode 有很多插件,所以 Alcatraz 诞生。

Xcode 的插件管理器,我们可以很方便安装大神写的插件,也可以上传插件,于是我上传了 Color Theme 的插件。

准备工作

具体入口

Xcode -> Perferences... -> Fonts & Colors -> +

选择一个基础模板,然后进行修改。

提交插

先了解插件的几种格式:

url 应该包含 Xcode项目,并且名称一致的 .xcodeproj 文件

{
  "name": "LifeChangingPlugin",
  "url": "https://github.com/me/xcode-life-changing-plugin",
  "description": "Makes Xcode stop, collaborate and listen.",
  "screenshot": "http://raw.github.com/me/awesome-screenshot.png"
}

url 应该是 颜色搭配 的资源地址

{
  "name": "Most Amazing Theme Ever",
  "url": "https://raw.github.com/me/xcode-amazing-theme/master/ThemeFile.dvtcolortheme",
  "description": "Easy on the eyes, makes code sing",
  "screenshot": "http://raw.github.com/me/awesome-screenshot.png"
}
{
  "name": "Magical",
  "url": "https://raw.github.com/me/xcode-magic-templates",
  "description": "File templates for rainbow adventure coding"
}

主要步骤

Reload Packages 和 Load Default Repository,然后就可以看到你的插件啦!Install 吧!

102C3F31-CFCE-4B8A-B9A6-FC579FB2106B.jpg

如何使用

Xcode -> Perferences... -> Fonts & Colors -> 选择 AssistYou

你的Xcode主题就这样硬生生的被替换啦!

Demo的源码 -_-吻我

上一篇 下一篇

猜你喜欢

热点阅读