Latest 0.1.0
Homepage https://github.com/kitaisreal/UniversalCache
License MIT
Platforms ios 8.0
Authors

Cache parameters

  1. maxSize:Double – max size of cache
  2. capacity:Int – max count of objects in cache
  3. sizeOf:(Value) -> (Double) – closure to count cache object size
  4. cacheDestination:FileCacheDestination – cache destination (only for file cache)
    public enum FileCacheDestination {
    case temporary
    case folder(String)
    }

    Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

UniversalCache is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'UniversalCache'

Author

kitaisreal, [email protected]

License

UniversalCache is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UniversalCache",
    "version": "0.1.0",
    "summary": "IOS Generic LRU Memory and File Cache",
    "description": "IOS Generic LRU Memory and File Cache. Easy to use.",
    "homepage": "https://github.com/kitaisreal/UniversalCache",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kitaisreal": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kitaisreal/UniversalCache.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Classes/**/*",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This