iOS add View Node
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
#import "DoricContextHolder.h"
|
||||
#import "DoricViewContainer.h"
|
||||
|
||||
#import "UIView+Doric.h"
|
||||
|
||||
@@ -17,6 +18,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic,strong) V view;
|
||||
|
||||
@property (nonatomic,weak) DoricGroupNode *parent;
|
||||
@property (nonatomic) NSInteger index;
|
||||
|
||||
@property (nonatomic,strong) NSString *viewId;
|
||||
|
||||
@property (nonatomic,strong) LayoutParams *layoutParams;
|
||||
|
||||
@property (nonatomic,strong,readonly) NSArray<NSString *> *idList;
|
||||
|
||||
- (V)build:(NSDictionary *)props;
|
||||
|
||||
@@ -24,6 +32,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (void)blendView:(V)view forPropName:(NSString *)name propValue:(id)prop;
|
||||
|
||||
- (void)callJSResponse:(NSString *)funcId,...;
|
||||
|
||||
+ (DoricViewNode *)create:(DoricContext *)context withType:(NSString *)type;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
Reference in New Issue
Block a user