add resource loader & image decoder plugin

This commit is contained in:
王劲鹏
2022-01-10 11:58:16 +08:00
committed by osborn
parent e3f45676d6
commit 141b02b142
5 changed files with 166 additions and 0 deletions

View File

@@ -42,6 +42,8 @@
#import "DoricFlowLayoutNode.h"
#import "DoricPopoverPlugin.h"
#import "DoricAnimatePlugin.h"
#import "DoricResourceLoaderPlugin.h"
#import "DoricImageDecoderPlugin.h"
#import "DoricNestedSliderNode.h"
#import "DoricInputNode.h"
#import "DoricDraggableNode.h"
@@ -116,6 +118,8 @@ - (void)innerRegister {
[self registerNativePlugin:DoricStatusBarPlugin.class withName:@"statusbar"];
[self registerNativePlugin:DoricCoordinatorPlugin.class withName:@"coordinator"];
[self registerNativePlugin:DoricNotchPlugin.class withName:@"notch"];
[self registerNativePlugin:DoricResourceLoaderPlugin.class withName:@"resourceLoader"];
[self registerNativePlugin:DoricImageDecoderPlugin.class withName:@"imageDecoder"];
[self registerViewNode:DoricStackNode.class withName:@"Stack"];
[self registerViewNode:DoricVLayoutNode.class withName:@"VLayout"];