Deprecated stuff was removed from RCTShadowView

Summary: It was deprecated awhile ago.

Reviewed By: javache

Differential Revision: D5990504

fbshipit-source-id: a218410d17f5f450d573338522b689e035106aba
This commit is contained in:
Valentin Shergin 2017-10-09 17:13:16 -07:00 committed by Facebook Github Bot
parent 4342879c92
commit 32e5c8e5b5
2 changed files with 0 additions and 26 deletions

View File

@ -280,13 +280,3 @@ typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, UIView *> *viewRegistry
- (BOOL)viewIsDescendantOf:(RCTShadowView *)ancestor;
@end
@interface RCTShadowView (Deprecated)
@property (nonatomic, assign, readonly) YGNodeRef cssNode
__deprecated_msg("Use `yogaNode` instead.");
- (BOOL)isCSSLeafNode
__deprecated_msg("Use `isYogaLeafNode` instead.");
@end

View File

@ -763,19 +763,3 @@ RCT_STYLE_PROPERTY(AspectRatio, aspectRatio, AspectRatio, float)
}
@end
@implementation RCTShadowView (Deprecated)
- (YGNodeRef)cssNode
{
RCTLogWarn(@"Calling deprecated `[-RCTShadowView cssNode]`.");
return _yogaNode;
}
- (BOOL)isCSSLeafNode
{
RCTLogWarn(@"Calling deprecated `[-RCTShadowView isCSSLeafNode]`.");
return self.isYogaLeafNode;
}
@end