30 lines
505 B
Objective-C
30 lines
505 B
Objective-C
//
|
|
// DoricViewNode.h
|
|
// Doric
|
|
//
|
|
// Created by pengfei.zhou on 2019/7/30.
|
|
//
|
|
|
|
#import "DoricContextHolder.h"
|
|
|
|
#import "UIView+Doric.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class DoricGroupNode;
|
|
|
|
@interface DoricViewNode <V>: DoricContextHolder
|
|
|
|
@property (nonatomic,strong) V view;
|
|
|
|
@property (nonatomic,weak) DoricGroupNode *parent;
|
|
|
|
- (V)build:(NSDictionary *)props;
|
|
|
|
- (void)blend:(NSDictionary *)props;
|
|
|
|
- (void)blendView:(V)view forPropName:(NSString *)name propValue:(id)prop;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|