Xcode6中如何修改文件中自动创建的Created by和Copyright
2015-07-10 16:17
411 查看
在Xcode6创建问的时候,会自动生成注释
// Created byxxx on 15/7/10.
// Copyright (c) 2015年 xxxx. All rights reserved.
xxx默认为电脑用户名,那么如何修改呢?方法如下:
右键Xcode图标,显示包内容 /Contents/Developer/Library/Xcode/Templates/File Templates/Source
C File.xctemplate
C++ File.xctemplate
Cocoa Class.xctemplate
Header File.xctemplate
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___
//
对应区域即可
// Created byxxx on 15/7/10.
// Copyright (c) 2015年 xxxx. All rights reserved.
xxx默认为电脑用户名,那么如何修改呢?方法如下:
右键Xcode图标,显示包内容 /Contents/Developer/Library/Xcode/Templates/File Templates/Source
C File.xctemplate
C++ File.xctemplate
Cocoa Class.xctemplate
Header File.xctemplate
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___
//
对应区域即可
相关文章推荐
- CentOS 6.5编译安装LAMP分离环境的搭建
- Linux 环境变量PATH设置
- tomcat配置数据源
- Linux下定时任务配置-crontab
- 亚马逊云主机aws linux putty 登录报错 server refused our key解决
- linux下制作u盘启动盘的方法
- centos更改默认语言
- Linux之mount命令详解
- 网站设计需要做好的策划工作
- OpenGL模板缓冲区与模板测试
- tomcat配置调优与安全总结
- centos 6.6编译安装mysql 5.6
- python学习之--调用shell脚本
- Linux 批量建立信任关系,实现ssh无密码登陆的脚本
- VirtualBox内Linux系统与Windows共享文件夹
- linux常用vi编辑器命令行
- Linux 搭建 discuz 论坛
- shell入门之变量测试
- shell入门之变量测试
- Linux Centos 6.6搭建SFTP服务器