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:
parent
4342879c92
commit
32e5c8e5b5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue