【文件属性】:
文件名称:PBImageStorage:具有内存缓存、缩略图支持和磁盘持久性的键值图像存储
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-19 01:31:36
Objective-C
PB图像存储
具有内存缓存、缩略图支持和磁盘持久性的键值图像存储。
可可豆
在 Podfile 中删除以下行:
pod 'PBImageStorage'
用法
// initialize myStorage instance
PBImageStorage* storage = [[PBImageStorage alloc ] initWithNamespace: @" myStorage " ];
// Put image to storage asynchronously
[storage setImage: someImage forKey: @" someKey " diskOnly: NO completion: ^{
NSLog ( @" Image has been saved to disk. " );
}];
// Get image from storage as
【文件预览】:
PBImageStorage-master
----PBImageStorage.m(17KB)
----LICENSE(1KB)
----PBImageStorage.h(3KB)
----PBImageStorage.podspec(532B)
----README.md(1KB)