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/DoricCollectionItemNode.m
2019-11-28 13:59:55 +08:00

34 lines
650 B
Objective-C

//
// Created by pengfei.zhou on 2019/11/28.
//
#import "DoricCollectionItemNode.h"
@interface DoricCollectionItemView : DoricStackView
@end
@implementation DoricCollectionItemView
@end
@interface DoricCollectionItemNode ()
@end
@implementation DoricCollectionItemNode
- (instancetype)initWithContext:(DoricContext *)doricContext {
if (self = [super initWithContext:doricContext]) {
self.reusable = YES;
}
return self;
}
- (void)initWithSuperNode:(DoricSuperNode *)superNode {
[super initWithSuperNode:superNode];
self.reusable = YES;
}
- (DoricStackView *)build {
return [DoricCollectionItemView new];
}
@end