[Swift] Addressed two warnings when building for swift. (#2497)

This commit is contained in:
george-gw
2016-10-29 00:40:22 +02:00
committed by Adlai Holler
parent fb92b448e0
commit 09168ceee0
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
* *
* @deprecated Deprecated in version 2.0: Use ASCalculateRootLayout() or ASCalculateLayout() instead * @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. * @abstract Called whenever the visiblity of the node changed.

View File

@@ -814,7 +814,7 @@ extern NSInteger const ASDefaultDrawingPriority;
@end @end
@interface ASDisplayNode (Deprecated) <ASStackLayoutElement, ASAbsoluteLayoutElement> @interface ASDisplayNode (DeprecatedProtocolMethods) <ASStackLayoutElement, ASAbsoluteLayoutElement>
#pragma mark - Deprecated #pragma mark - Deprecated