Created ASCollectionNode with new example project.

Eases support for nesting horizontally scrolling elements within a vertical scroller.

Further changes will improve the API, and optimize handling of the nested working ranges.
This commit is contained in:
Scott Goodson
2015-09-07 12:54:42 -07:00
parent de795d577a
commit 08e31e1c37
24 changed files with 911 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
//
// ASCollectionNode.h
// AsyncDisplayKit
//
// Created by Scott Goodson on 9/5/15.
// Copyright (c) 2015 Facebook. All rights reserved.
//
#import <AsyncDisplayKit/AsyncDisplayKit.h>
@interface ASCollectionNode : ASDisplayNode
- (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly) ASCollectionView *view;
@end