JLChen
2021-05-18 a869383e163a18cdedcf587383c1eca043129754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
//  Copyright © 2016年 dahua. All rights reserved.
//
 
#import <Foundation/Foundation.h>
@interface LCStore : NSObject
 
@property (nonatomic, strong, readonly) NSDictionary *dicStore;
 
- (instancetype)initWithLocalPath:(NSString *)path;
 
- (id)getObjByKey:(const NSString *)key;
 
- (void)saveObj:(id)value withKey:(const NSString *)key;
 
/**
 追加写入
 
 @param dictionary 需要追加写入的字段
 */
- (void)saveAppended:(NSDictionary *)dictionary;
 
////储存密码到钥匙串
//+(void)lc_KC_StorePassword:(NSString *)password forService:(NSString *)serviceName account:(NSString *)account;
//
////获取密码从钥匙串
//+(NSString *)lc_KC_PasswordForService:(NSString *)serviceName account:(NSString *)account;
//
////储存密码到userdefault
//+(void)lc_UD_StoreValue:(NSString *)value forKey:(NSString *)key;
//
////获取值从userdefault
//+(id)lc_UD_ValueForKey:(NSString *)key;
 
@end