feat:add storage plugin for iOS

This commit is contained in:
pengfei.zhou
2019-11-22 11:11:22 +08:00
parent 06c6b5f5a5
commit 3b7c4a97da
5 changed files with 121 additions and 3 deletions

View File

@@ -34,6 +34,7 @@
#import "DoricScrollerNode.h"
#import "DoricSliderNode.h"
#import "DoricSlideItemNode.h"
#import "DoricStoragePlugin.h"
@interface DoricRegistry ()
@@ -56,9 +57,10 @@ - (instancetype)init {
}
- (void)innerRegister {
[self registerNativePlugin:DoricShaderPlugin.class withName:@"shader"];
[self registerNativePlugin:DoricModalPlugin.class withName:@"modal"];
[self registerNativePlugin:DoricNetworkPlugin.class withName:@"network"];
[self registerNativePlugin:DoricShaderPlugin.class withName:@"shader"];
[self registerNativePlugin:DoricStoragePlugin.class withName:@"storage"];
[self registerViewNode:DoricStackNode.class withName:@"Stack"];
[self registerViewNode:DoricVLayoutNode.class withName:@"VLayout"];