- 授权协议: 未知
- 开发语言: Swift
- 操作系统: iOS
- 软件首页: https://github.com/dphans/DPImageCache
软件介绍
DPImageCache 是 Swift 写成的 UIImageView 的扩展,帮助加载图像异步存储本地文件缓存。
使用:
let dirName = "cache"
func createCacheDirectory() {
var fileMan = NSFileManager.defaultManager()
var cacheDir = (NSSearchPathForDirectoriesInDomains(
.DocumentDirectory,
.UserDomainMask, true)[0] as! NSString)
.stringByAppendingPathComponent(dirName)
if !fileMan.fileExistsAtPath(cacheDir) {
fileMan.createDirectoryAtPath(
cacheDir,
withIntermediateDirectories: false,
attributes: nil,
error: nil)
}
}Eric Meyer on CSS
Eric Meyer / New Riders Press / 2002-7-8 / USD 55.00
There are several other books on the market that serve as in-depth technical guides or reference books for CSS. None, however, take a more hands-on approach and use practical examples to teach readers......一起来看看 《Eric Meyer on CSS》 这本书的介绍吧!
