Giter Site home page Giter Site logo

samscherer1 / playbackdemoswift Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 103.91 MB

Conversion of playback demo to swift, this time starting from PlaybackDemo instead of UXSDK-Demo because the storyboard is being difficult

License: MIT License

Objective-C 75.83% C 0.29% Swift 23.42% Ruby 0.46%

playbackdemoswift's Introduction

PlaybackDemoSwift

Introduction

This PlaybackDemo is designed for you to learn how to use DJIPlaybackManager to access the media resources on the SD card of the aircraft's camera to preview photos, play videos, download or delete files.

Requirements

  • iOS 9.0+
  • Xcode 8.0+
  • DJI iOS SDK 4.14
  • DJI iOS UX SDK 4.14
  • DJIWidget 1.6.4

SDK Installation with CocoaPods

Since this project has been integrated with DJI iOS SDK CocoaPods now, please check the following steps to install DJISDK.framework using CocoaPods after you downloading this project:

1. Install CocoaPods

Open Terminal and change to the download project's directory, enter the following command to install it:

sudo gem install cocoapods

The process may take a long time, please wait. For further installation instructions, please check this guide.

2. Install SDK and DJIWidget with CocoaPods in the Project

Run the following command in the project's path:

pod install

If you install it successfully, you should get the messages similar to the following:

Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (4.14)
Installing DJI-UXSDK-iOS (4.14)
Installing DJIWidget (1.6.4)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `PlaybackDemo.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod
installed.

Note: If you saw "Unable to satisfy the following requirements" issue during pod install, please run the following commands to update your pod repo and install the pod again:

pod repo update
pod install

Not Supported DJI Products

  • OSMO
  • Phantom 3 Standard
  • Phantom 3 4K
  • Phantom 3 Advanced
  • Mavic Pro
  • Mavic 2 Series
  • Phantom 4 Pro
  • Inspire 2
  • Spark

Tutorial

For this demo's tutorial: Creating a Photo and Video Playback Application, please refer to https://developer.dji.com/mobile-sdk/documentation/ios-tutorials/PlaybackDemo.html.

The tutorial is currently only available in Objective C.

Known Issues

PlaybackDemoSwift hasn't been completely converted to Swift from its Objective C counterpart.

Feedback

When reporting bugs, at a minimum please let us know:

  • Which DJI Product you are using
  • Which iOS Device and iOS version you are using
  • A short description of your problem includes debug logs or screenshots.
  • Any bugs or typos you come across.

License

PlaybackDemoSwift is property of RIIS. All rights reserved.

playbackdemoswift's People

Contributors

oliverou avatar samscherer1 avatar

Watchers

Godfrey Nolan avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.