summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-07-01 18:16:44 -0400
committerMuller, Alexander (A.) <amulle19@ford.com>2016-07-01 18:16:44 -0400
commitac2dcf5dac12a4610ccddb83fb95360f4dac557f (patch)
treea7109c6c97293e54f433a8faeeec7405e159f7b7
parentc8d0846b78423130a4296fdc2131dfc098e2ec03 (diff)
downloadsdl_ios-ac2dcf5dac12a4610ccddb83fb95360f4dac557f.tar.gz
Using NSSelectorFromString instead of @selector to silence warning.
-rw-r--r--SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m b/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m
index f26c4650c..71ac916ab 100644
--- a/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m
+++ b/SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m
@@ -53,7 +53,7 @@ describe(@"SDLTouchManager Tests", ^{
__block DelegateCallbackBlock pinchEndTests;
__block void (^performTouchEvent)(SDLTouchManager* touchManager, SDLOnTouchEvent* onTouchEvent) = ^(SDLTouchManager* touchManager, SDLOnTouchEvent* onTouchEvent) {
- SEL onOnTouchEvent = @selector(onOnTouchEvent:);
+ SEL onOnTouchEvent = NSSelectorFromString(@"onOnTouchEvent:");
((void (*)(id, SEL, id))[touchManager methodForSelector:onOnTouchEvent])(touchManager, onOnTouchEvent, onTouchEvent);
};