You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/20 03:37:09 UTC
[43/50] incubator-weex git commit: * [ios] remove unused function
* [ios] remove unused function
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/1d41569b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/1d41569b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/1d41569b
Branch: refs/heads/0.11-dev
Commit: 1d41569ba19986ec3289e93878f254696027ab6e
Parents: 571bfd1
Author: acton393 <zh...@gmail.com>
Authored: Thu Mar 16 21:25:08 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Mar 16 21:25:08 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h | 1 -
ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.m | 12 ------------
2 files changed, 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1d41569b/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h b/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h
index 1bcef92..c04432e 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h
@@ -20,7 +20,6 @@
@property (nonatomic, strong) NSMutableDictionary *asyncMethods;
@property (nonatomic, strong) NSMutableDictionary *syncMethods;
-+ (instancetype)sharedInstance;
- (instancetype)initWithName:(NSString *)name class:(NSString *)clazz;
- (void)registerMethods;
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1d41569b/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.m b/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.m
index e725fc1..c5171df 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.m
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.m
@@ -24,17 +24,6 @@
@implementation WXInvocationConfig
-+ (instancetype)sharedInstance
-{
- static id _sharedInstance;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _sharedInstance = [[self alloc] init];
- });
-
- return _sharedInstance;
-}
-
- (instancetype)init
{
@@ -106,5 +95,4 @@
}
-
@end