Latest 1.2.0
Homepage https://github.com/sinsmin/XCCacheKit
License MIT
Platforms ios 8.0, requires ARC
Dependencies SqliteDb
Authors

iOS缓存库,支持iOS8.0以上的系统。拥有内存缓存、文件缓存、sqlite缓存。

CocoaPods

CI Status
Version
License
Platform

Installation

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

pod "XCCacheKit"

使用

// 默认缓存不过期(expire=0)
[[XCCache sharedCache] setObject:object forKey:key];
[[XCCache sharedCache] setObject:object forKey:key expire:expire];

异步

[[XCCache sharedCache] setObject:object forKey:key expire:expire completion:completion];

License

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

Latest podspec

{
    "name": "XCCacheKit",
    "version": "1.2.0",
    "summary": "iOSu7f13u5b58u5e93uff0cu62e5u6709u5185u5b58u7f13u5b58u3001u6587u4ef6u7f13u5b58u3001sqliteu7f13u5b58u3002",
    "homepage": "https://github.com/sinsmin/XCCacheKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "sinsmin": "wkcdeie@gmail.com"
    },
    "source": {
        "git": "https://github.com/sinsmin/XCCacheKit.git",
        "tag": "1.2.0"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "XCCacheKit/Classes/**/*",
    "public_header_files": "XCCacheKit/Classes/**/*.h",
    "dependencies": {
        "SqliteDb": []
    }
}

Pin It on Pinterest

Share This