feat:storage plugin done

This commit is contained in:
pengfei.zhou
2019-11-22 17:07:16 +08:00
parent b19a3e32f3
commit 4835030ef3
4 changed files with 44 additions and 7 deletions

View File

@@ -33,6 +33,7 @@ - (instancetype)initWithContext:(DoricContext *)doricContext {
if (self = [super initWithContext:doricContext]) {
_basePath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject]
stringByAppendingPathComponent:@"doric"];
_cachedMap = [NSMutableDictionary new];
}
return self;
}