在xcode中创建初始化模板

1. 类模板
引用
original path: /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates
custom path: /Users/KNET/Library/Developer/Xcode/Templates/File Templates



2. 方法注释
引用
在code snippet library中添加user code snippet,并且可以设置shortcut


模板例子

    /** 
     * <#description#> 
     * <p> 
     * 
     * @author: <#name#>, <#date#> 
     * 
     * @param: <#parameterName#> 
     *      <#parameterDescription#> 
     * @return <#returnDescription#> 
     */  




3. 项目模板
引用

original path: /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates
custom path: /Users/KNET/Library/Developer/Xcode/Templates/Project Templates

猜你喜欢

转载自514979423.iteye.com/blog/1770728