Xcode中的代码片段默认放在~/Library/Developer/Xcode/UserData/CodeSnippets下, 转载于:https://www.cnblogs.com/JASON-SONG/p/5332532.html