Skip to content

Commit

Permalink
Update to iOS SDK 4.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverou committed Apr 19, 2017
1 parent 8dc26f0 commit ae03e87
Show file tree
Hide file tree
Showing 139 changed files with 1,883 additions and 1,851 deletions.
4 changes: 2 additions & 2 deletions DJI-SDK-iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = "DJI-SDK-iOS"
s.version = "4.0"
s.version = "4.0.1"
s.summary = "DJI Mobile SDK for iOS"
s.homepage = "https://github.com/dji-sdk/Mobile-SDK-iOS"
s.license = { :type => 'CUSTOM', :text => <<-LICENSE
Expand Down Expand Up @@ -38,7 +38,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
s.author = { "DJI SDK" => "[email protected]" }
s.platform = :ios, '8.0'
s.requires_arc = true
s.source = { :http => "http://dh7g4ai1w5iq6.cloudfront.net/ios_sdk/iOS_Mobile_SDK_4.0_170329.zip"}
s.source = { :http => "http://dh7g4ai1w5iq6.cloudfront.net/ios_sdk/iOS_Mobile_SDK_4.0.1_170418.zip"}
s.ios.vendored_frameworks = 'iOS_Mobile_SDK/DJISDK.framework'

end
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you install it successfully, you should get the messages similar to the follo
~~~
Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (3.5.1)
Installing DJI-SDK-iOS (4.0.1)
Generating Pods project
Integrating client project
Expand Down Expand Up @@ -90,14 +90,19 @@ Several iOS tutorials are provided as examples on how to use different features
Please visit [DJI Mobile SDK Documentation](https://developer.dji.com/mobile-sdk/documentation/introduction/index.html) for more details.
## DJI Mobile UI Library
DJI Mobile UILibrary is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK. For more details, please check [here](https://github.com/dji-sdk/Mobile-UILibrary-iOS).
## SDK Keys
SDK Keys can be used as an alternative interface to access the product.
A detailed introduction for SDK Keys is [here](./docs/README-KeyedInterface.md).
## Missions Refactor
Missions are an important part of the SDK as they allow developers to automate DJI's products using a simple, high level interface. In 4.0, missions are being refactored to be more robust and easier to manage.
Missions are an important part of the SDK as they allow developers to automate DJI's products using a simple, high level interface. In 4.0.1, missions are being refactored to be more robust and easier to manage.
A detailed introduction for missions is [here](./docs/README-Mission.md).
Expand Down
2 changes: 1 addition & 1 deletion Sample Code/ObjcSampleCode/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# platform :ios, '9.0'

target 'DJISdkDemo' do
pod 'DJI-SDK-iOS', '~> 4.0
pod 'DJI-SDK-iOS', '~> 4.0.1
end
2 changes: 1 addition & 1 deletion Sample Code/SwiftSampleCode/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# platform :ios, '9.0'

target 'DJISDKSwiftDemo' do
pod 'DJI-SDK-iOS', '~> 4.0
pod 'DJI-SDK-iOS', '~> 4.0.1
end
28 changes: 14 additions & 14 deletions docs/API Reference/BaseClasses/DJIBaseProduct.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/API Reference/BaseClasses/DJIVideoFeeder.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,15 +404,15 @@
<div class="site-main">
<div class="article"><div class="article"><h1><font color="#AAA">class </font>DJIVideoFeeder</h1></div>
<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="class"><span class="keyword">@interface</span> <span class="title">DJIVideoFeeder</span> : <span class="title">NSObject</span></span></div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Inherits From:</i></font></td><td width="85%"><font color="#999"><code>NSObject</code></font></td></tr></table></html>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Inherits From:</i></font></td><td width="85%"><font color="#999"><code>NSObject</code></font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Doc Key:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder</font></td></tr></table></html>
<h5 id="description">Description:</h5>
<p><font color="#666">Class that handles live video streams from product to mobile device.</font></p>
<h5 id="class-members">Class Members:</h5>
<div class="api-row" id="djivideofeeder_primaryvideofeed"><div class="api-col left">Primary Video Feed</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djivideofeeder_primaryvideofeed_inline">primaryVideoFeed</a></div></div><div class="inline-doc" id="djivideofeeder_primaryvideofeed_inline" <blockquote="">
<div class="article"><h6><font color="#AAA">property </font>primaryVideoFeed</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) DJIVideoFeed *primaryVideoFeed</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr></table></html>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Doc Key:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder_primaryVideoFeed</font></td></tr></table></html>
<h5 id="description-v2">Description:</h5>
<p><font color="#666">The primary video feed.</font></p>
<h5 id="see-also">See Also:</h5>
Expand All @@ -422,7 +422,7 @@ <h5 id="see-also">See Also:</h5>
<div class="article"><h6><font color="#AAA">property </font>secondaryVideoFeed</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line"><span class="keyword">@property</span> (<span class="keyword">nonatomic</span>, <span class="keyword">strong</span>, <span class="keyword">nonnull</span>) DJIVideoFeed *secondaryVideoFeed</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr></table></html>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Doc Key:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder_secondaryVideoFeed</font></td></tr></table></html>
<h5 id="description-v3">Description:</h5>
<p><font color="#666">The secondary video feed.</font></p>
<h5 id="see-also-v2">See Also:</h5>
Expand All @@ -432,7 +432,7 @@ <h5 id="see-also-v2">See Also:</h5>
<div class="article"><h6><font color="#AAA">method </font>addVideoFeedSourceListener</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)addVideoFeedSourceListener:(<span class="keyword">id</span> &lt;DJIVideoFeedSourceListener&gt;)sourceListener</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr></table></html>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Doc Key:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder_addVideoFeedSourceListener</font></td></tr></table></html>
<h5 id="description-v4">Description:</h5>
<p><font color="#666">Add Video Feed Source Listener.</font></p>
<h5 id="input-parameters">Input Parameters:</h5>
Expand All @@ -441,7 +441,7 @@ <h5 id="input-parameters">Input Parameters:</h5>
<div class="article"><h6><font color="#AAA">method </font>removeVideoFeedSourceListener</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)removeVideoFeedSourceListener:(<span class="keyword">id</span> &lt;DJIVideoFeedSourceListener&gt;)sourceListener</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr></table></html>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Doc Key:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder_removeVideoFeedSourceListener</font></td></tr></table></html>
<h5 id="description-v5">Description:</h5>
<p><font color="#666">Remove Video Feed Source Listener.</font></p>
<h5 id="input-parameters-v2">Input Parameters:</h5>
Expand All @@ -450,7 +450,7 @@ <h5 id="input-parameters-v2">Input Parameters:</h5>
<div class="article"><h6><font color="#AAA">method </font>removeAllListeners</h6></div>

<figure class="highlight objc"><table><tr><td class="code"><pre><div class="line">- (<span class="keyword">void</span>)removeAllListeners</div></pre></td></tr></table></figure>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr></table></html>
<html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Doc Key:</i></font></td><td width="85%"><font color="#999">DJIVideoFeeder_removeAllListeners</font></td></tr></table></html>
<h5 id="description-v6">Description:</h5>
<p><font color="#666">Remove all listeners.</font></p>
</div>
Expand Down
Loading

0 comments on commit ae03e87

Please sign in to comment.