提交 61ff3b7d 编写于 作者: L litianhao3615

Modify:[iOS]-一机多控 - 处理编译警告

上级 ad958c27
......@@ -34,6 +34,7 @@ Pod::Spec.new do |s|
ss.dependency 'GCDWebServer/WebUploader'
ss.dependency 'GCDWebServer/WebDAV'
ss.dependency 'FMDB'
ss.dependency 'AFNetworking'
end
s.subspec 'WithLogger' do |ss|
......@@ -99,6 +100,7 @@ Pod::Spec.new do |s|
ss.dependency 'DoraemonKit/Core'
ss.dependency 'CocoaLumberjack'
ss.dependency 'CocoaHTTPServer'
ss.dependency 'SocketRocket'
end
end
......
......@@ -30,11 +30,14 @@
if (![self valid]) {
return;
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
if ([NSStringFromSelector(self.action) containsString:@":"]) {
[self.target performSelector:self.action withObject:self.sender];
}else {
[self.target performSelector:self.action];
}
#pragma clang diagnostic pop
}
......
......@@ -92,11 +92,14 @@
UIControl *ctl = (UIControl *)rootView;
[[ctl allTargets] enumerateObjectsUsingBlock:^(id _Nonnull obj, BOOL * _Nonnull stop) {
if ([obj respondsToSelector:action]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
if ([data[@"action"] containsString:@":"]) {
[obj performSelector:action withObject:rootView];
}else {
[obj performSelector:action];
}
#pragma clang diagnostic pop
}
}];
}
......
......@@ -110,7 +110,7 @@ static NSString const *kTypeKey = @"type";
messageInstance.xPath = dict[kXpathKey];
messageInstance.eventInfo = dict[kEventInfoKey];
messageInstance.currentVCClassName = dict[kVcClsNameKey];
messageInstance.isFirstResponder = dict[kIsFirstResponderKey];
messageInstance.isFirstResponder = [dict[kIsFirstResponderKey] boolValue];
return messageInstance;
}
......
......@@ -9,9 +9,9 @@
NS_ASSUME_NONNULL_BEGIN
UIKIT_EXTERN NSString const *kUIGestureRecognizerDoraemonMCSerializerWrapperKey ;
UIKIT_EXTERN NSString const * _Nonnull kUIGestureRecognizerDoraemonMCSerializerWrapperKey ;
UIKIT_EXTERN NSString const *kUIGestureRecognizerDoraemonMCSerializerIndexKey;
UIKIT_EXTERN NSString const * _Nonnull kUIGestureRecognizerDoraemonMCSerializerIndexKey;
@interface UIGestureRecognizer (DoraemonMCSerializer)
......
......@@ -119,7 +119,10 @@ static NSUInteger const kDoraemonMCXPathUseKeyWindowIndex = 99999;
superV = superV.superview;
}
if (reuseViewInstance && [reuseViewInstance respondsToSelector:@selector(indexPathForCell:)]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
self.cellIndexPath = [reuseViewInstance performSelector:@selector(indexPathForCell:) withObject:cell];
#pragma clang diagnostic pop
}
currentV = reuseViewInstance;
self.pathNodeList = currentPathNodeList.copy;
......
......@@ -449,7 +449,7 @@
DAC8A8741FDE2C3B00F03E6F /* Frameworks */,
DAC8A8751FDE2C3B00F03E6F /* Resources */,
4338E62332869AF074F6B38C /* [CP] Copy Pods Resources */,
7DA7F5DC663044EC1DED0891 /* [CP] Embed Pods Frameworks */,
2B04C1F39AB80A38611A9343 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
......@@ -514,6 +514,24 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
2B04C1F39AB80A38611A9343 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DoraemonKitDemo/Pods-DoraemonKitDemo-frameworks.sh",
"${PODS_ROOT}/../../DoraemonKit/Framework/DoraemonLoadAnalyze.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DoraemonLoadAnalyze.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DoraemonKitDemo/Pods-DoraemonKitDemo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
4338E62332869AF074F6B38C /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
......@@ -564,24 +582,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
7DA7F5DC663044EC1DED0891 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DoraemonKitDemo/Pods-DoraemonKitDemo-frameworks.sh",
"${PODS_ROOT}/../../DoraemonKit/Framework/DoraemonLoadAnalyze.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DoraemonLoadAnalyze.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DoraemonKitDemo/Pods-DoraemonKitDemo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
......
......@@ -18,32 +18,34 @@ PODS:
- CocoaHTTPServer (2.3):
- CocoaAsyncSocket
- CocoaLumberjack
- CocoaLumberjack (3.7.0):
- CocoaLumberjack/Core (= 3.7.0)
- CocoaLumberjack/Core (3.7.0)
- DoraemonKit/Core (3.0.7):
- CocoaLumberjack (3.7.2):
- CocoaLumberjack/Core (= 3.7.2)
- CocoaLumberjack/Core (3.7.2)
- DoraemonKit/Core (3.0.8):
- AFNetworking
- FMDB
- GCDWebServer
- GCDWebServer/WebDAV
- GCDWebServer/WebUploader
- DoraemonKit/WithDatabase (3.0.7):
- DoraemonKit/WithDatabase (3.0.8):
- DoraemonKit/Core
- YYDebugDatabase
- DoraemonKit/WithGPS (3.0.7):
- DoraemonKit/WithGPS (3.0.8):
- DoraemonKit/Core
- DoraemonKit/WithLoad (3.0.7):
- DoraemonKit/WithLoad (3.0.8):
- DoraemonKit/Core
- DoraemonKit/WithLogger (3.0.7):
- DoraemonKit/WithLogger (3.0.8):
- CocoaLumberjack
- DoraemonKit/Core
- DoraemonKit/WithMLeaksFinder (3.0.7):
- DoraemonKit/WithMLeaksFinder (3.0.8):
- DoraemonKit/Core
- FBRetainCycleDetector
- DoraemonKit/WithMultiControl (3.0.7):
- DoraemonKit/WithMultiControl (3.0.8):
- CocoaHTTPServer
- CocoaLumberjack
- DoraemonKit/Core
- DoraemonKit/WithWeex (3.0.7):
- SocketRocket
- DoraemonKit/WithWeex (3.0.8):
- DoraemonKit/Core
- WeexSDK
- WXDevtool
......@@ -74,7 +76,7 @@ PODS:
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.10)
- SocketRocket (0.5.1)
- WeexSDK (0.28.0)
- WeexSDK (0.30.0)
- WXDevtool (0.24.0):
- SocketRocket
- WeexSDK
......@@ -130,8 +132,8 @@ SPEC CHECKSUMS:
AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CocoaHTTPServer: 5624681fc3473d43b18202f635f9b3abb013b530
CocoaLumberjack: e8955b9d337ac307103b0a34fd141c32f27e53c5
DoraemonKit: 6cb420fd0368cb8e886b81c7b648fe04a16be830
CocoaLumberjack: b7e05132ff94f6ae4dfa9d5bce9141893a21d9da
DoraemonKit: 1bcf1a9f63a97cf8b66af24940d6ca3559dfd96f
FBRetainCycleDetector: 46daef95c2dfa9be34b53087edf6a8f34e4c749c
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4
......@@ -139,7 +141,7 @@ SPEC CHECKSUMS:
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: f56ab499e3ea57dfeb6c3187dce183b10e160db0
SocketRocket: d57c7159b83c3c6655745cd15302aa24b6bae531
WeexSDK: 78861d2f8b78f67e30580c15a54f5b420456db39
WeexSDK: 8e01e33244f51cb11f9f000b5200d93de5f4fa97
WXDevtool: 95b70c73c06fc3299d65bd53ba4b3e0b0087f3cb
YYDebugDatabase: e684a7f79fca2e3673a23347cefb822f911f3124
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册