Permalink
Browse files

Deprecated stuff was removed from RCTShadowView

Summary: It was deprecated awhile ago.

Reviewed By: javache

Differential Revision: D5990504

fbshipit-source-id: a218410d17f5f450d573338522b689e035106aba
  • Loading branch information...
shergin authored and facebook-github-bot committed Oct 10, 2017
1 parent 4342879 commit 32e5c8e5b5133db45f3bc1bbb042585f4bb8a4ed
Showing with 0 additions and 26 deletions.
  1. +0 −10 React/Views/RCTShadowView.h
  2. +0 −16 React/Views/RCTShadowView.m
@@ -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 @@ - (void)didSetProps:(__unused NSArray<NSString *> *)changedProps
}
@end
@implementation RCTShadowView (Deprecated)
- (YGNodeRef)cssNode
{
RCTLogWarn(@"Calling deprecated `[-RCTShadowView cssNode]`.");
return _yogaNode;
}
- (BOOL)isCSSLeafNode
{
RCTLogWarn(@"Calling deprecated `[-RCTShadowView isCSSLeafNode]`.");
return self.isYogaLeafNode;
}
@end

0 comments on commit 32e5c8e

Please sign in to comment.