feat:add network plugin to iOS

This commit is contained in:
pengfei.zhou
2019-11-21 20:16:48 +08:00
parent 632e4b98b9
commit 74e5421282
5 changed files with 87 additions and 6 deletions

View File

@@ -22,6 +22,7 @@
#import "DoricRegistry.h"
#import "DoricModalPlugin.h"
#import "DoricNetworkPlugin.h"
#import "DoricShaderPlugin.h"
#import "DoricStackNode.h"
#import "DoricVLayoutNode.h"
@@ -56,6 +57,7 @@ - (instancetype)init {
- (void)innerRegister {
[self registerNativePlugin:DoricModalPlugin.class withName:@"modal"];
[self registerNativePlugin:DoricNetworkPlugin.class withName:@"network"];
[self registerNativePlugin:DoricShaderPlugin.class withName:@"shader"];
[self registerViewNode:DoricStackNode.class withName:@"Stack"];