常用Xcode文档位置,修改Xcode项目模板地址总结,以及常用地址,随时更新。

Xcode文档 ~/Library/Developer/Shared/Documentation/DocSets

     or /Applications/Xcode.app/Contents/Developer/Documentation/DocSets

开启隐藏文件(重启finder生效): defaults write com.apple.finder AppleShowAllFiles -bool true

修改项目模板以及main函数中的内容:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Command Line Tool.xctemplate/

     EX:

int main(int argc, const char * argv[]) {

    [NSString stringWithFormat:<#(NSString *), ...#>];

    return 0;
}

修改OC文件头部的描述信息:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Source/Cocoa Class.xctemplate

EX:

//
//  main.m
//  修改项目模板
//
//  Created by xiaomage on 15/6/18.
//  Copyright (c) 2015年 xiaomage. All rights reserved.
//

修改为下列
/*
 工程名称:
 文件名称:
 创建者  :
 创建时间:
 版权    :
 修改人  :
 修改时间:
 */

 Xcode 插件安装位置: /Users/xianren/Library/Developer/Xcode/Plug-ins

原文地址:https://www.cnblogs.com/XXxiaotaiyang/p/4988374.html