mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 18:50:07 +08:00
Remove deprecated RCTImageSource method
Reviewed By: majak Differential Revision: D3755010 fbshipit-source-id: a1c4cfa066c51ec0111378a1b4e08f58b92e6cbd
This commit is contained in:
committed by
Facebook Github Bot 4
parent
bfa01f0d15
commit
a718f14af7
@@ -36,13 +36,6 @@
|
||||
|
||||
@end
|
||||
|
||||
@interface RCTImageSource (Deprecated)
|
||||
|
||||
@property (nonatomic, strong, readonly) NSURL *imageURL
|
||||
__deprecated_msg("Use request.URL instead.");
|
||||
|
||||
@end
|
||||
|
||||
@interface RCTConvert (ImageSource)
|
||||
|
||||
+ (RCTImageSource *)RCTImageSource:(id)json;
|
||||
|
||||
@@ -48,16 +48,6 @@
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation RCTImageSource (Deprecated)
|
||||
|
||||
- (NSURL *)imageURL
|
||||
{
|
||||
return self.request.URL;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation RCTConvert (ImageSource)
|
||||
|
||||
+ (RCTImageSource *)RCTImageSource:(id)json
|
||||
|
||||
Reference in New Issue
Block a user