##工程
curl -o .gitignore https://www.gitignore.io/api/objective-c
func printLog<T>(message: T,
file: String = #file,
method: String = #function,
line: Int = #line)
{
#if DEBUG
print("\((file as NSString).lastPathComponent)[\(line)], \(method): \(message)")
#endif
}
# Provisioning Profiles 路径:
~/Library/MobileDevice/Provisioning Profiles
# Xcode 插件路径:
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
# code snippet:
~/Library/Developer/Xcode/UserData/CodeSnippets
# derived data:
~/Library/Developer/Xcode/DerivedData
# 复制文档内容到剪切板
pbcopy < hello.txt
参考: http://www.cnblogs.com/czq1989/p/4913692.html 在修改conf下面的配置文件,前面取消注释的时候有空格,需要去掉改空格,否则会报错,Description : Unable to connect to a repository at URL 'svn://localhost/svn/ ' line 19: option expected