2

Xcode修改版权Copyright、统一配置类前缀

 3 years ago
source link: https://www.devashen.com/blog/2017/12/01/copyright/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Xcode修改版权Copyright、统一配置类前缀

Dec 1st, 2017 1:51 pm | 评论

修改类的Copyright、类前缀

对于已经在项目中的文件,想要修改版权信息,使用全局替换就可以了,而对于新文件来说,想让Xcode帮你自动填充版权方,也是很方便的,之前都是傻瓜式的替换,现在发现了新大陆,就来这里记录下吧,具体操作流程如下图:
版权、前缀

顺便加点料,对于有些项目,需要为每个类加一个前缀,也是可以按照这个流程来做的,设置上图中的Class prefix就可以了,这样Xcode会在新建的类的时候自动填充这个前缀了。

Posted by Ashen

Dec 1st, 2017 1:51 pmiOS

« React-Native初体验 《三体》之读后随记 »


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK