mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-06-15 02:09:20 +08:00
This change upgrades to PINCache 3.0.1-beta which supports custom archiving and unarchiving. This allows us to avoid using NSArchiver/Archiver which adds a small amount of disk space overhead and between .5 and 10 ms (on an iPhone 4) for each encode / decode. To support this, we *do* have to add versioning for the cache and destroy it for the old versions. I considered adding a process to migrate the images, but because that would have to occur on startup and process all existing images, it could cause issues for very large image cache databases, so I decided against that.
35 lines
838 B
JSON
35 lines
838 B
JSON
{
|
|
"name": "PINCache",
|
|
"version": "3.0.0-beta",
|
|
"source_files": "PINCache/*.{h,m}",
|
|
"homepage": "https://github.com/pinterest/PINCache",
|
|
"summary": "Fast, thread safe, parallel object cache for iOS and OS X.",
|
|
"authors": {
|
|
"Garrett Moon": "garrett@pinterest.com",
|
|
"Justin Ouellette": "jstn@tumblr.com"
|
|
},
|
|
"source": {
|
|
"git": "https://github.com/pinterest/PINCache.git",
|
|
"tag": "3.0.0-beta"
|
|
},
|
|
"license": {
|
|
"type": "Apache 2.0",
|
|
"file": "LICENSE.txt"
|
|
},
|
|
"requires_arc": true,
|
|
"frameworks": "Foundation",
|
|
"ios": {
|
|
"weak_frameworks": "UIKit"
|
|
},
|
|
"osx": {
|
|
"weak_frameworks": "AppKit"
|
|
},
|
|
"platforms": {
|
|
"ios": "5.0",
|
|
"osx": "10.7",
|
|
"tvos": "9.0",
|
|
"watchos": "2.0"
|
|
},
|
|
"prefix_header_contents": "#ifndef TARGET_OS_WATCH\n #define TARGET_OS_WATCH 0\n#endif"
|
|
}
|