mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-06-14 17:09:01 +08:00
25 lines
508 B
Objective-C
25 lines
508 B
Objective-C
//
|
|
// PlaygroundContainerNode.h
|
|
// Sample
|
|
//
|
|
// Created by Hannah Troisi on 3/19/16.
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
|
|
|
@protocol PlaygroundContainerNodeDelegate <NSObject>
|
|
|
|
- (void)relayoutWithSize:(ASSizeRange)size;
|
|
|
|
@end
|
|
|
|
@interface PlaygroundContainerNode : ASCellNode
|
|
|
|
@property (nonatomic, weak) id<PlaygroundContainerNodeDelegate> delegate;
|
|
|
|
+ (NSUInteger)containerNodeCount;
|
|
- (instancetype)initWithIndex:(NSUInteger)index;
|
|
|
|
@end
|