Code Monkey home page Code Monkey logo

yuneec-sdk-ios's Introduction

Yuneec

Yuneec SDK for iOS

Build Status

This repository contains the iOS wrappers for the Yuneec SDK written in Objective-C/Objective-C++.

Usage

Use Carthage to get the framework

To use the Yuneec SDK in your iOS application, you can pull in this framework using Carthage.

To install carthage, it's easiest to use Homebrew:

brew install carthage

Then to add the framework, create the file Cartfile in your app's repository with below's content:

# Require the iOS framework of the Yuneec SDK
github "YUNEEC/Yuneec-SDK-iOS" >= 0.5.7

Then, to pull in the library and build it, run Carthage in your app's repository:

carthage update

This command also needs to be re-run if you want to udpate the framework.

Add the framework into your project

Open the project in XCode and do the following:

  1. Open Project Settings -> General
  2. Find Embedded Binaries and press +
  3. Click Other, go one folder up, and select Carthage/Build/iOS/Yuneec_SDK_iOS.framework.
  4. Do "Product Clean" and "Product Build"

Use Carthage to check out a developer branch

While developing, you might need a developer version of the iOS wrappers. They can be accessed by using a branch in the Cartfile:

github "YUNEEC/Yuneec-SDK-iOS" "branch-name"

Build using xcodebuild

To build, do:

xcodebuild

This will call ./download-dronecore.sh to pull the DroneCore-iOS-vX.Y.Z-Release.zip file from s3 using curl, unzip it. Then it will compile the Objective-C wrappers.

To clean up and force the script to download the zip file again, you can use:

xcodebuild clean
rm *.zip

Or to remove any unstaged files in the directory: git clean -dfx. Attention, check using --dry-run first what you're about to remove.

Docs

Autogenerated API docs can be found locally in the docs directory or on the Yuneec Developer Portal.

Generate docs

To generate the docs, jazzy is used.

To install it, do:

sudo gem install jazzy

To update the docs:

jazzy --objc --umbrella-header Yuneec_SDK_iOS/Yuneec_SDK_iOS.h --theme docs/yuneec

License

The source code in this repository which is just a wrapper around the Yuneec-SDK (C++ library) is published under the BSD 3-Clause license.

yuneec-sdk-ios's People

Watchers

 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.