diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-07-01 18:16:44 -0400 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-07-01 18:16:44 -0400 |
commit | ac2dcf5dac12a4610ccddb83fb95360f4dac557f (patch) | |
tree | a7109c6c97293e54f433a8faeeec7405e159f7b7 | |
parent | c8d0846b78423130a4296fdc2131dfc098e2ec03 (diff) | |
download | sdl_ios-ac2dcf5dac12a4610ccddb83fb95360f4dac557f.tar.gz |
Using NSSelectorFromString instead of @selector to silence warning.
-rw-r--r-- | SmartDeviceLinkTests/UtilitiesSpecs/Touches/SDLTouchManagerSpec.m | 2 |
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); }; |