轉自: 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___
//
對應區域便可