Swift 中常用的小样板代码集合
let name = AppInfo.productName
//Name of your project. Useful fot getting default coreData module and other things
用于处理文件位置的漂亮 API
let documentDir = FileHelper.documentDirectory
let path = FileHelper.filePath(fileName) // file path in Documents directory
let path = FileHelper.filePath(fileName, directory: .CachesDirectory)
// file path in CachesDirectory