Files
AsyncDisplayKit/examples/ASLayoutSpecPlayground/Sample/PlaygroundContainerNode.h
2016-09-13 22:19:10 -07:00

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