Use `NSTimeInterval` for age property, because it's more proper represent seconds

This commit is contained in:
DreamPiggy 2018-04-17 01:35:44 +08:00
parent 2d27300e00
commit a8639f9fd0
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
* The maximum length of time to keep an image in the cache, in seconds.
* Defaults to 1 weak.
*/
@property (assign, nonatomic) NSInteger maxCacheAge;
@property (assign, nonatomic) NSTimeInterval maxCacheAge;
/**
* The maximum size of the cache, in bytes.