Commit Graph

6 Commits

Author SHA1 Message Date
Garrett Moon
f0edfad0a3 Don't bother archiving / unarchiving data.
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.
2016-08-09 16:08:21 -07:00
Alex Shevchenko
3a6bc57ae7 Pluggable cache (#225)
* Cache is pluggable now.
PINCache dependency is optional.

* Cleanup

* Fixing wrong commit

* Cleanup

* Renamed PINRemoteImageCaching methods
2016-08-05 15:59:16 -07:00
Garrett Moon
e5b6dc6b96 Fixup examples, update pods 2016-02-05 15:35:41 -08:00
Adlai Holler
0ef39a8b7f Make WebP + CocoaPods + use_frameworks! work again 2016-02-05 15:35:09 -08:00
Jon Parise
845a01fe56 Use the public CocoaPods version of PINCache. 2015-07-27 09:40:24 -07:00
Garrett Moon
9d2bd31f95 1.0 2015-07-22 17:29:31 -07:00