zoukankan      html  css  js  c++  java
  • Xcode6中如何修改文件中自动创建的Created by和Copyright

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

    在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___

    //

    对应区域即可

  • 相关阅读:
    java获取年份的后两位
    jdbcTemplate的Dao层封装
    beta准备
    福大软工 · 第十一次作业
    Alpha 冲刺 (10/10)
    Alpha 冲刺 (9/10)
    Alpha 冲刺 (8/10)
    Alpha 冲刺 (7/10)
    Alpha 冲刺 (6/10)
    Alpha 冲刺 (5/10)
  • 原文地址:https://www.cnblogs.com/cc412/p/4656873.html
Copyright © 2011-2022 走看看