Skip to content

yangqingren/QRDataCache

Repository files navigation

QRDataCache

CI Status Version License Platform

Example

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

Requirements

/**
 存储
 */
+ (BOOL)saveDataToDB:(id)model key:(NSString *)key;

/**
 读取
 */
+ (id)getDataByClass:(Class)className key:(NSString *)key;

/**
 删除数据
 */
+ (BOOL)deleteDataWithKey:(NSString *)key;

/**
 删除所有数据
 */
+ (BOOL)deleteAllData;

Installation

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

pod 'QRDataCache'

Author

yangqingren, 564008993@qq.com

License

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