feat:iOS implement coordinator plugin

This commit is contained in:
pengfei.zhou
2020-02-13 22:18:13 +08:00
committed by osborn
parent 630ec51504
commit 6bf61b3769
15 changed files with 226 additions and 24 deletions

View File

@@ -49,6 +49,7 @@
#import "DoricNotificationPlugin.h"
#import "DoricStatusBarPlugin.h"
#import "DoricUtil.h"
#import "DoricCoordinatorPlugin.h"
@interface DoricLibraries : NSObject
@property(nonatomic, strong) NSMutableSet <DoricLibrary *> *libraries;
@@ -130,6 +131,7 @@ - (void)innerRegister {
[self registerNativePlugin:DoricAnimatePlugin.class withName:@"animate"];
[self registerNativePlugin:DoricNotificationPlugin.class withName:@"notification"];
[self registerNativePlugin:DoricStatusBarPlugin.class withName:@"statusbar"];
[self registerNativePlugin:DoricCoordinatorPlugin.class withName:@"coordinator"];
[self registerViewNode:DoricStackNode.class withName:@"Stack"];
[self registerViewNode:DoricVLayoutNode.class withName:@"VLayout"];