summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-10-02 11:17:28 -0400
committerJoel Fischer <joeljfischer@gmail.com>2017-10-02 11:17:28 -0400
commitc75871f7a24ca4bc621b6210c7f1321e8ad234ad (patch)
treec0f23b45d47929e2f137e723c9cc571b66cb95cd
parentabb4304cb16dd009b36002f2e5065901474e7cc7 (diff)
downloadsdl_ios-c75871f7a24ca4bc621b6210c7f1321e8ad234ad.tar.gz
Fix spelling and warnings
-rw-r--r--SmartDeviceLink/SDLHapticManager.m2
-rw-r--r--SmartDeviceLink/SDLStreamingMediaLifecycleManager.m3
2 files changed, 2 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLHapticManager.m b/SmartDeviceLink/SDLHapticManager.m
index d51ce3d69..c055bc81a 100644
--- a/SmartDeviceLink/SDLHapticManager.m
+++ b/SmartDeviceLink/SDLHapticManager.m
@@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN
BOOL isButton = [currentView isKindOfClass:[UIButton class]];
if ((currentView.canBecomeFocused || isButton) && focusableSubviews.count == 0) {
- //if current view is focusable and it doesn't have any focusable sub views then add the cuurent view and return
+ //if current view is focusable and it doesn't have any focusable sub views then add the current view and return
[self.focusableViews addObject:currentView];
return;
} else if (currentView.subviews.count > 0) {
diff --git a/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m b/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m
index e86ab2c0b..0d7ca7a01 100644
--- a/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m
+++ b/SmartDeviceLink/SDLStreamingMediaLifecycleManager.m
@@ -107,8 +107,7 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N
if (configuration.window != nil) {
_hapticInterface = [[SDLHapticManager alloc] initWithWindow:configuration.window connectionManager:_connectionManager];
}
- // __weak typeof(_hapticInterface) weakHaptic = _hapticInterface;
- _touchManager = [[SDLTouchManager alloc] initWithHitTester:_hapticInterface];
+ _touchManager = [[SDLTouchManager alloc] initWithHitTester:(id)_hapticInterface];
_videoEncoderSettings = configuration.customVideoEncoderSettings ?: SDLH264VideoEncoder.defaultVideoEncoderSettings;
_requestedEncryptionType = configuration.maximumDesiredEncryption;