Xcode6中如何修改文件中自动创建的Created by和Copyright 文件模板
2016-02-24 11:16
525 查看
在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___
//
对应区域即可
转自http://blog.csdn.net/bjourney/article/details/46832159
// 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___
//
对应区域即可
转自http://blog.csdn.net/bjourney/article/details/46832159
相关文章推荐
- linux history 删除
- Tomcat无法启动A child container failed during start
- linux笔记_磁盘分区
- linux shell的here document用法(cat << EOF)
- 很强的nginx rewrite研究(强烈推荐…
- LNMP一键安装包redhat,centos
- nginx 全局变量
- nginx 匹配 规则
- 跳转 nginx 跳转 apache跳转
- nginx反向代理访问带referer的后端
- 在CentOS6.3环境下安装VNC报错
- InvalidOpenationException 异常 解决方案
- PCLinuxOS 是最佳的滚动发布发行版吗?
- 跟我一起写 Makefile
- 今天解决了Nginx跳转问题
- linux shell 字符串操作(长度,查找,替换)详解
- Linux中named.pid permission deni…
- Nginx的Location可以有以下几个匹…
- nginx避免重定向死循环
- nginx 安装与配置