Skip to content

Commit

Permalink
Update for v4.5.0-beta.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
joeljfischer committed Dec 5, 2016
1 parent 5210bab commit a8776d2
Show file tree
Hide file tree
Showing 26 changed files with 535 additions and 187 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ See the [roadmap](https://github.com/smartdevicelink/sdl_ios/wiki/Roadmap) to se

You can install this library using [Cocoapods](https://cocoapods.org/pods/SmartDeviceLink-iOS). You can get started with Cocoapods by [following their install guide](https://guides.cocoapods.org/using/getting-started.html#getting-started), and learn how to use Cocoapods to install dependencies [by following this guide](https://guides.cocoapods.org/using/using-cocoapods.html).

In your podfile, you want to add `pod 'SmartDeviceLink-iOS', '~> 4.4'`. Then run `pod install` inside your terminal. With Cocoapods, we support iOS 6.0+.
In your podfile, you want to add `pod 'SmartDeviceLink-iOS', '~> 4.5'`. Then run `pod install` inside your terminal. With Cocoapods, we support iOS 6.0+.

##### Carthage

Expand Down
2 changes: 1 addition & 1 deletion SmartDeviceLink-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SmartDeviceLink-iOS"
s.version = "4.4.1"
s.version = "4.5.0-beta.1"
s.summary = "Connect your app with cars!"
s.homepage = "https://github.com/smartdevicelink/SmartDeviceLink-iOS"
s.license = { :type => "New BSD", :file => "LICENSE" }
Expand Down
2 changes: 1 addition & 1 deletion SmartDeviceLink/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.4.1</string>
<string>4.5.0-beta.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLGetWaypoints.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
@end

__deprecated_msg("Use SDLGetWayPoints instead")
@interface SDLGetWaypoints : SDLGetWayPoints
@interface SDLGetWaypoints : SDLGetWayPoints

@end
@end
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLGetWaypoints.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ - (instancetype)initWithType:(SDLWaypointType *)type {
if (!self) {
return nil;
}

self.waypointType = type;

return self;
}

Expand Down
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLGetWaypointsResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
@end

__deprecated_msg("Use SDLGetWayPointsResponse instead")
@interface SDLGetWaypointsResponse : SDLGetWayPointsResponse
@interface SDLGetWaypointsResponse : SDLGetWayPointsResponse

@end
@end
2 changes: 1 addition & 1 deletion SmartDeviceLink/SDLNotificationDispatcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ - (void)postNotificationName:(NSString *)name infoObject:(nullable id)infoObject
if (infoObject != nil) {
userInfo = @{SDLNotificationUserInfoObject: infoObject};
}

dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter] postNotificationName:name object:self userInfo:userInfo];
});
Expand Down
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLOnWaypointChange.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
@end

__deprecated_msg("Use SDLOnWayPointChange instead")
@interface SDLOnWaypointChange : SDLOnWayPointChange
@interface SDLOnWaypointChange : SDLOnWayPointChange

@end
@end
2 changes: 1 addition & 1 deletion SmartDeviceLink/SDLPerformInteraction.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ - (instancetype)initWithInitialChunks:(NSArray<SDLTTSChunk *> *)initialChunks in
self.timeout = @(timeout);
self.vrHelp = [vrHelp mutableCopy];
self.interactionLayout = layout;

return self;
}

Expand Down
5 changes: 2 additions & 3 deletions SmartDeviceLink/SDLProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
typedef void (^URLSessionTaskCompletionHandler)(NSData *data, NSURLResponse *response, NSError *error);
typedef void (^URLSessionDownloadTaskCompletionHandler)(NSURL *location, NSURLResponse *response, NSError *error);

NSString *const SDLProxyVersion = @"4.4.1";
NSString *const SDLProxyVersion = @"4.5.0-beta.1";
const float startSessionTime = 10.0;
const float notifyProxyClosedDelay = 0.1;
const int POLICIES_CORRELATION_ID = 65535;
Expand Down Expand Up @@ -386,8 +386,7 @@ - (void)handleRegisterAppInterfaceResponse:(SDLRPCResponse *)response {
_streamingMediaManager.displayCapabilties = registerResponse.displayCapabilities;
}
self.protocol.securityManager = [self securityManagerForMake:registerResponse.vehicleType.make];
if (self.protocol.securityManager
&& [self.protocol.securityManager respondsToSelector:@selector(setAppId:)]) {
if (self.protocol.securityManager && [self.protocol.securityManager respondsToSelector:@selector(setAppId:)]) {
self.protocol.securityManager.appId = self.appId;
}

Expand Down
2 changes: 1 addition & 1 deletion SmartDeviceLink/SDLSecurityType.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN

@protocol SDLSecurityType <NSObject>

@property (copy, nonatomic) NSString* appId;
@property (copy, nonatomic) NSString *appId;

- (void)initializeWithAppId:(NSString *)appId completionHandler:(void (^)(NSError *_Nullable error))completionHandler;
- (void)stop;
Expand Down
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLSubscribeWaypoints.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
@end

__deprecated_msg("Use SDLSubscribeWayPoints instead")
@interface SDLSubscribeWaypoints : SDLSubscribeWayPoints
@interface SDLSubscribeWaypoints : SDLSubscribeWayPoints

@end
@end
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLSubscribeWaypointsResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
@end

__deprecated_msg("Use SDLSubscribeWayPointsResponse instead")
@interface SDLSubscribeWaypointsResponse : SDLSubscribeWayPointsResponse
@interface SDLSubscribeWaypointsResponse : SDLSubscribeWayPointsResponse

@end
@end
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLUnsubscribeWaypoints.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
@end

__deprecated_msg("Use SDLUnsubscribeWayPoints instead")
@interface SDLUnsubscribeWaypoints : SDLUnsubscribeWayPoints
@interface SDLUnsubscribeWaypoints : SDLUnsubscribeWayPoints

@end
@end
4 changes: 2 additions & 2 deletions SmartDeviceLink/SDLUnsubscribeWaypointsResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
@end

__deprecated_msg("Use SDLUnsubscribeWayPointsResponse instead")
@interface SDLUnsubscribeWaypointsResponse : SDLUnsubscribeWayPointsResponse
@interface SDLUnsubscribeWaypointsResponse : SDLUnsubscribeWayPointsResponse

@end
@end
2 changes: 1 addition & 1 deletion SmartDeviceLink_Example/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>4.4.0</string>
<string>4.5.0-beta.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
98 changes: 91 additions & 7 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ <h3>Section Contents</h3>
<li><a href="#section-SDLGetDTCsResponse">SDLGetDTCsResponse</a></li>
<li><a href="#section-SDLGetVehicleData">SDLGetVehicleData</a></li>
<li><a href="#section-SDLGetVehicleDataResponse">SDLGetVehicleDataResponse</a></li>
<li><a href="#section-SDLGetWayPoints">SDLGetWayPoints</a></li>
<li><a href="#section-SDLGetWaypoints">SDLGetWaypoints</a></li>
<li><a href="#section-SDLGetWayPointsResponse">SDLGetWayPointsResponse</a></li>
<li><a href="#section-SDLGetWaypointsResponse">SDLGetWaypointsResponse</a></li>
<li><a href="#section-SDLGlobalProperty">SDLGlobalProperty</a></li>
<li><a href="#section-SDLHMICapabilities">SDLHMICapabilities</a></li>
Expand Down Expand Up @@ -140,6 +142,7 @@ <h3>Section Contents</h3>
<li><a href="#section-SDLOnTBTClientState">SDLOnTBTClientState</a></li>
<li><a href="#section-SDLOnTouchEvent">SDLOnTouchEvent</a></li>
<li><a href="#section-SDLOnVehicleData">SDLOnVehicleData</a></li>
<li><a href="#section-SDLOnWayPointChange">SDLOnWayPointChange</a></li>
<li><a href="#section-SDLOnWaypointChange">SDLOnWaypointChange</a></li>
<li><a href="#section-SDLPRNDL">SDLPRNDL</a></li>
<li><a href="#section-SDLParameterPermissions">SDLParameterPermissions</a></li>
Expand Down Expand Up @@ -213,7 +216,9 @@ <h3>Section Contents</h3>
<li><a href="#section-SDLSubscribeButtonResponse">SDLSubscribeButtonResponse</a></li>
<li><a href="#section-SDLSubscribeVehicleData">SDLSubscribeVehicleData</a></li>
<li><a href="#section-SDLSubscribeVehicleDataResponse">SDLSubscribeVehicleDataResponse</a></li>
<li><a href="#section-SDLSubscribeWayPoints">SDLSubscribeWayPoints</a></li>
<li><a href="#section-SDLSubscribeWaypoints">SDLSubscribeWaypoints</a></li>
<li><a href="#section-SDLSubscribeWayPointsResponse">SDLSubscribeWayPointsResponse</a></li>
<li><a href="#section-SDLSubscribeWaypointsResponse">SDLSubscribeWaypointsResponse</a></li>
<li><a href="#section-SDLSyncMsgVersion">SDLSyncMsgVersion</a></li>
<li><a href="#section-SDLSyncPData">SDLSyncPData</a></li>
Expand Down Expand Up @@ -242,7 +247,9 @@ <h3>Section Contents</h3>
<li><a href="#section-SDLUnsubscribeButtonResponse">SDLUnsubscribeButtonResponse</a></li>
<li><a href="#section-SDLUnsubscribeVehicleData">SDLUnsubscribeVehicleData</a></li>
<li><a href="#section-SDLUnsubscribeVehicleDataResponse">SDLUnsubscribeVehicleDataResponse</a></li>
<li><a href="#section-SDLUnsubscribeWayPoints">SDLUnsubscribeWayPoints</a></li>
<li><a href="#section-SDLUnsubscribeWaypoints">SDLUnsubscribeWaypoints</a></li>
<li><a href="#section-SDLUnsubscribeWayPointsResponse">SDLUnsubscribeWayPointsResponse</a></li>
<li><a href="#section-SDLUnsubscribeWaypointsResponse">SDLUnsubscribeWaypointsResponse</a></li>
<li><a href="#section-SDLUpdateMode">SDLUpdateMode</a></li>
<li><a href="#section-SDLUpdateTurnList">SDLUpdateTurnList</a></li>
Expand Down Expand Up @@ -2039,13 +2046,36 @@ <h4>Swift</h4>



<h3 id="section-SDLGetWayPoints">
SDLGetWayPoints
</h3>

<p>Undocumented</p>

<a href="Classes/SDLGetWayPoints.html" class="slightly-smaller">See more</a>





<h3 id="section-SDLGetWaypoints">
SDLGetWaypoints
</h3>

<p>Undocumented</p>

<a href="Classes/SDLGetWaypoints.html" class="slightly-smaller">See more</a>





<h3 id="section-SDLGetWayPointsResponse">
SDLGetWayPointsResponse
</h3>

<p>Undocumented</p>

<a href="Classes/SDLGetWayPointsResponse.html" class="slightly-smaller">See more</a>



Expand All @@ -2057,7 +2087,6 @@ <h3 id="section-SDLGetWaypointsResponse">

<p>Undocumented</p>

<a href="Classes/SDLGetWaypointsResponse.html" class="slightly-smaller">See more</a>



Expand Down Expand Up @@ -3157,13 +3186,24 @@ <h4>Swift</h4>



<h3 id="section-SDLOnWayPointChange">
SDLOnWayPointChange
</h3>

<p>Undocumented</p>

<a href="Classes/SDLOnWayPointChange.html" class="slightly-smaller">See more</a>





<h3 id="section-SDLOnWaypointChange">
SDLOnWaypointChange
</h3>

<p>Undocumented</p>

<a href="Classes/SDLOnWaypointChange.html" class="slightly-smaller">See more</a>



Expand Down Expand Up @@ -4664,8 +4704,8 @@ <h4>Swift</h4>



<h3 id="section-SDLSubscribeWaypoints">
SDLSubscribeWaypoints
<h3 id="section-SDLSubscribeWayPoints">
SDLSubscribeWayPoints
</h3>

<p>A SDLSubscribeWaypoints can be sent to subscribe
Expand All @@ -4680,15 +4720,37 @@ <h3 id="section-SDLSubscribeWaypoints">


<h4>Objective-C</h4>
<pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLSubscribeWaypoints</span> <span class="p">:</span> <span class="nc">SDLRPCRequest</span></code></pre>
<pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLSubscribeWayPoints</span> <span class="p">:</span> <span class="nc">SDLRPCRequest</span></code></pre>


<h4>Swift</h4>
<pre class="highlight"><code><span class="kd">class</span> <span class="kt">SDLSubscribeWaypoints</span> <span class="p">:</span> <span class="kt"><a href="Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre>
<pre class="highlight"><code><span class="kd">class</span> <span class="kt">SDLSubscribeWayPoints</span> <span class="p">:</span> <span class="kt"><a href="Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre>




<h3 id="section-SDLSubscribeWaypoints">
SDLSubscribeWaypoints
</h3>

<p>Undocumented</p>






<h3 id="section-SDLSubscribeWayPointsResponse">
SDLSubscribeWayPointsResponse
</h3>

<p>Undocumented</p>






<h3 id="section-SDLSubscribeWaypointsResponse">
SDLSubscribeWaypointsResponse
</h3>
Expand Down Expand Up @@ -5243,6 +5305,17 @@ <h4>Swift</h4>



<h3 id="section-SDLUnsubscribeWayPoints">
SDLUnsubscribeWayPoints
</h3>

<p>Undocumented</p>






<h3 id="section-SDLUnsubscribeWaypoints">
SDLUnsubscribeWaypoints
</h3>
Expand All @@ -5254,6 +5327,17 @@ <h3 id="section-SDLUnsubscribeWaypoints">



<h3 id="section-SDLUnsubscribeWayPointsResponse">
SDLUnsubscribeWayPointsResponse
</h3>

<p>Undocumented</p>






<h3 id="section-SDLUnsubscribeWaypointsResponse">
SDLUnsubscribeWaypointsResponse
</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SDLGetWaypoints.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>SDLGetWaypoints Class Reference</h1>
<h1>SDLGetWayPoints Class Reference</h1>

<h3>Section Contents</h3>

Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SDLGetWaypointsResponse.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>SDLGetWaypointsResponse Class Reference</h1>
<h1>SDLGetWayPointsResponse Class Reference</h1>

<h3>Section Contents</h3>

Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/SDLOnWaypointChange.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>SDLOnWaypointChange Class Reference</h1>
<h1>SDLOnWayPointChange Class Reference</h1>

<h3>Section Contents</h3>

Expand Down
Loading

0 comments on commit a8776d2

Please sign in to comment.