remove unused code

This commit is contained in:
Horcrux
2016-05-15 18:24:53 +08:00
parent 233ea81a4a
commit ea7f462022
4 changed files with 0 additions and 19 deletions
-2
View File
@@ -25,6 +25,4 @@
@property (nonatomic, assign) CGFloat strokeDashoffset;
@property (nonatomic, assign) CGMutablePathRef nodeArea;
- (CGFloat)getActualProp:(NSDictionary *) prop relative:(float)relative;
@end
-10
View File
@@ -91,16 +91,6 @@
CGContextRestoreGState(context);
}
- (CGFloat)getActualProp:(NSDictionary *) prop relative:(float)relative
{
CGFloat value = [[prop objectForKey:@"value"] floatValue];
if ([[prop objectForKey:@"percentage"] integerValue] == 1) {
return relative * value;
} else {
return value;
}
}
// hitTest delagate
- (UIView *)hitTest:(CGPoint)point
withEvent:(UIEvent *)event
-5
View File
@@ -70,9 +70,4 @@
return path;
}
- (CGFloat)getActualProp:(NSString *)name relative:(float)relative
{
return 0;
}
@end
-2
View File
@@ -24,6 +24,4 @@ RCT_EXPORT_VIEW_PROPERTY(alignment, CTTextAlignment)
RCT_REMAP_VIEW_PROPERTY(frame, textFrame, RNSVGTextFrame)
RCT_EXPORT_VIEW_PROPERTY(path, CGPath)
@end