diff options
author | David Switzer <dswitzer@xevo.com> | 2017-05-01 10:41:31 -0700 |
---|---|---|
committer | David Switzer <dswitzer@xevo.com> | 2017-05-01 10:41:31 -0700 |
commit | 76d708e48cdb87bd708e9c48c9cd48b9cf97ab4b (patch) | |
tree | a14849d0a9014f14a50da64fefed84efa2db4955 | |
parent | c15c214238d9f30dd74b03470b3207e299e2acac (diff) | |
download | sdl_ios-76d708e48cdb87bd708e9c48c9cd48b9cf97ab4b.tar.gz |
Incorporate PR review feedback into IAP transport and data queue classes.
-rw-r--r-- | SmartDeviceLink/SDLIAPTransport.m | 4 | ||||
-rwxr-xr-x | SmartDeviceLink/SDLMutableDataQueue.m | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m index ea6cb0ee3..abc69ab7f 100644 --- a/SmartDeviceLink/SDLIAPTransport.m +++ b/SmartDeviceLink/SDLIAPTransport.m @@ -152,7 +152,7 @@ int const streamOpenTimeoutSeconds = 2; #pragma mark - Creating Session Streams -- (BOOL)sdl_tryConnectAccessory:(EAAccessory *)accessory { +- (BOOL)sdl_connectAccessory:(EAAccessory *)accessory { BOOL connecting = NO; if ([accessory supportsProtocol:controlProtocolString]) { @@ -172,7 +172,7 @@ int const streamOpenTimeoutSeconds = 2; // We should be attempting to connect self.retryCounter++; EAAccessory *sdlAccessory = accessory; - if (sdlAccessory != nil && [self sdl_tryConnectAccessory:sdlAccessory]){ + if (sdlAccessory != nil && [self sdl_connectAccessory:sdlAccessory]){ // Connection underway, exit return; } diff --git a/SmartDeviceLink/SDLMutableDataQueue.m b/SmartDeviceLink/SDLMutableDataQueue.m index db5aa7af9..1c9b8d87f 100755 --- a/SmartDeviceLink/SDLMutableDataQueue.m +++ b/SmartDeviceLink/SDLMutableDataQueue.m @@ -8,6 +8,8 @@ #import "SDLMutableDataQueue.h" +NS_ASSUME_NONNULL_BEGIN + @interface SDLMutableDataQueue() @property(nonatomic, strong) NSMutableArray *elements; @@ -67,4 +69,6 @@ } } +NS_ASSUME_NONNULL_END + @end |