DACache 0.1.0

DACache 0.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Dejan Agostini.



DACache 0.1.0

DACache

Description

DACache is a simple cache manager that simplifies caching of data to the file system.

This simple cache manager will allow you to cache files in memory and on the file system at the same time. You use it as a dictionary, if you have files cached in memory it will use them, otherwise, it will try and fetch them from the disk. Using file caching is optional.

Usage

var cache = DACache()
cache["key"] = dataObjectToCache // Store
let value: NSData? = cache["key"] // Fetch

Installation

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

pod "DACache"

Author

Dejan Agostini, [email protected]

License

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