26 lines
562 B
Objective-C
26 lines
562 B
Objective-C
//
|
|
// DoricGroupNode.h
|
|
// Doric
|
|
//
|
|
// Created by pengfei.zhou on 2019/7/30.
|
|
//
|
|
|
|
#import "DoricViewNode.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface DoricGroupNode : DoricViewNode<UIView *>
|
|
|
|
@property (nonatomic,strong) NSMutableDictionary *children;
|
|
@property (nonatomic,strong) NSMutableArray *indexedChildren;
|
|
|
|
@property (nonatomic) CGFloat desiredWidth;
|
|
@property (nonatomic) CGFloat desiredHeight;
|
|
|
|
- (void)blendChild:(DoricViewNode *)child layoutConfig:(NSDictionary *)layoutconfig;
|
|
|
|
- (LayoutParams *)generateDefaultLayoutParams;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|