NSUserDefaults(TuSDKNSUserDefaultsExtend) Category Reference

Declared in TuSDKTSNSUserDefaults+Extend.h

Overview

数据共享扩展

+ lsqSaveKey:value:

保存共享缓存

+ (void)lsqSaveKey:(NSString *)key value:(id)value

Parameters

key

缓存键

value

缓存值 如果为空将删除缓存

Declared In

TuSDKTSNSUserDefaults+Extend.h

+ lsqLoadForKey:

加载缓存数据

+ (id)lsqLoadForKey:(NSString *)key

Parameters

key

缓存键

Return Value

缓存数据

Declared In

TuSDKTSNSUserDefaults+Extend.h