[AsyncDisplayKit 2] Final changes to ease migration of clients to 2.0 APIs. (#2460)

This commit is contained in:
appleguy
2016-10-21 13:12:13 -07:00
committed by GitHub
parent e87ac54138
commit 2c6f8b0506
17 changed files with 470 additions and 72 deletions

View File

@@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* A layout spec is an immutable object that describes a layout, loosely inspired by React.
*/
@interface ASLayoutSpec : NSObject <ASLayoutElement>
@interface ASLayoutSpec : NSObject <ASLayoutElement, ASStackLayoutElement, ASAbsoluteLayoutElement>
/**
* Creation of a layout spec should only happen by a user in layoutSpecThatFits:. During that method, a