Fix ASAbsoluteLayoutSpec creation children protocol (#2357)

This commit is contained in:
Michael Schneider 2016-10-06 20:37:12 -07:00 committed by Adlai Holler
parent aece8365dd
commit bb7118a26a

View File

@ -20,9 +20,9 @@ NS_ASSUME_NONNULL_BEGIN
@interface ASAbsoluteLayoutSpec : ASLayoutSpec @interface ASAbsoluteLayoutSpec : ASLayoutSpec
/** /**
@param children Children to be positioned at fixed positions, each conforms to ASAbsoluteLayoutElement @param children Children to be positioned at fixed positions
*/ */
+ (instancetype)absoluteLayoutSpecWithChildren:(NSArray<id<ASAbsoluteLayoutElement>> *)children AS_WARN_UNUSED_RESULT; + (instancetype)absoluteLayoutSpecWithChildren:(NSArray<id<ASLayoutElement>> *)children AS_WARN_UNUSED_RESULT;
@end @end