From 09168ceee0fde104adff29d1647ac7ad0fa7293b Mon Sep 17 00:00:00 2001 From: george-gw Date: Sat, 29 Oct 2016 00:40:22 +0200 Subject: [PATCH] [Swift] Addressed two warnings when building for swift. (#2497) --- AsyncDisplayKit/ASDisplayNode+Deprecated.h | 2 +- AsyncDisplayKit/ASDisplayNode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AsyncDisplayKit/ASDisplayNode+Deprecated.h b/AsyncDisplayKit/ASDisplayNode+Deprecated.h index 563766610c..37904690a9 100644 --- a/AsyncDisplayKit/ASDisplayNode+Deprecated.h +++ b/AsyncDisplayKit/ASDisplayNode+Deprecated.h @@ -52,7 +52,7 @@ * * @deprecated Deprecated in version 2.0: Use ASCalculateRootLayout() or ASCalculateLayout() instead */ -- (ASLayout *)measureWithSizeRange:(ASSizeRange)constrainedSize ASDISPLAYNODE_DEPRECATED_MSG("Use layoutThatFits: instead."); +- (nonnull ASLayout *)measureWithSizeRange:(ASSizeRange)constrainedSize ASDISPLAYNODE_DEPRECATED_MSG("Use layoutThatFits: instead."); /** * @abstract Called whenever the visiblity of the node changed. diff --git a/AsyncDisplayKit/ASDisplayNode.h b/AsyncDisplayKit/ASDisplayNode.h index 73639dca9e..3411136147 100644 --- a/AsyncDisplayKit/ASDisplayNode.h +++ b/AsyncDisplayKit/ASDisplayNode.h @@ -814,7 +814,7 @@ extern NSInteger const ASDefaultDrawingPriority; @end -@interface ASDisplayNode (Deprecated) +@interface ASDisplayNode (DeprecatedProtocolMethods) #pragma mark - Deprecated