Xcode6中如何修改文件中自动建立的Created by和Copyright

转自: http://blog.csdn.net/bjourney/article/details/46832159.net

 

在Xcode6建立问的时候,会自动生成注释code

 

//  Created byxxx on 15/7/10.orm

//  Copyright (c) 2015年 xxxx. All rights reserved.blog

 

xxx默认为电脑用户名,那么如何修改呢?方法以下:it

右键Xcode图标,显示包内容 /Contents/Developer/Library/Xcode/Templates/File Templates/Sourceform

C File.xctemplateclass

C++ File.xctemplate方法

Cocoa Class.xctemplate注释

Header File.xctemplateco

Objective-C File.xctemplate

Objective-C new superclass.xctemplate

Playground with Platform Choice.xctemplate

Playground.xctemplate

Sources Folder Swift File.xctemplate

Swift File.xctemplate

Test Case Class.xctemplate

 

通常只修改 Objective-C File.xctemplate/Empty File/___FILEBASENAME___.m 中

 

//

//  ___FILENAME___

//  ___PROJECTNAME___

//

//  Created by ___FULLUSERNAME___ on ___DATE___.

//___COPYRIGHT___

//

 

对应区域便可

相关文章
相关标签/搜索