- 授权协议: 未知
- 开发语言: 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)
}
}HTTP
David Gourley、Brian Totty、Marjorie Sayer、Anshu Aggarwal、Sailu Reddy / O'Reilly Media / 2002-10-7 / USD 54.99
Product Description Web technology has become the foundation for all sorts of critical networked applications and far-reaching methods of data exchange, and beneath it all is a fundamental protocol......一起来看看 《HTTP》 这本书的介绍吧!
