Add missing nullability annotations to headers related to display node transitions (#1688)

This commit is contained in:
Eric Jensen
2016-05-20 20:10:07 -07:00
committed by appleguy
parent 94b88ad1ab
commit d3c33a38bb
2 changed files with 14 additions and 6 deletions

View File

@@ -8,6 +8,8 @@
#import <AsyncDisplayKit/ASDisplayNode.h>
NS_ASSUME_NONNULL_BEGIN
extern NSString * const ASTransitionContextFromLayoutKey;
extern NSString * const ASTransitionContextToLayoutKey;
@@ -21,7 +23,7 @@ extern NSString * const ASTransitionContextToLayoutKey;
/**
* @abstract Retrieve either the "from" or "to" layout
*/
- (ASLayout *)layoutForKey:(NSString *)key;
- (nullable ASLayout *)layoutForKey:(NSString *)key;
/**
* @abstract Retrieve either the "from" or "to" constrainedSize
@@ -62,3 +64,5 @@ extern NSString * const ASTransitionContextToLayoutKey;
- (void)completeTransition:(BOOL)didComplete;
@end
NS_ASSUME_NONNULL_END