This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/iOS/Pod/Classes/Shader/DoricViewNode.h
2019-07-30 15:20:11 +08:00

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