Latest 4.0.1.1.0.0
Homepage https://github.com/dji-sdk/Mobile-UILibrary-iOS
License CUSTOM ****************************************************************************************************************************

DJI User Interface Library for iOS is offered under DJI’s END USER LICENSE AGREEMENT. You can obtain the license from the below link:

http://developer.dji.com/policies/eula/

****************************************************************************************************************************

Sample code is offered under MIT License (See below).

The MIT License (MIT)
Copyright (c) 2017 DJI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
****************************************************************************************************************************

Platforms ios 8.0, requires ARC
Authors

DJI UILibrary for iOS

What Is This?

The UILibrary is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.

Get Started Immediately

UILibrary Installation with CocoaPods

Since this project has been integrated with DJI iOS UILibrary 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 UILibrary with CocoaPods in the Project

Run the following command in the ObjcSampleCode and SwiftSampleCode paths:

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.0.1)
Installing DJI-UILibrary-iOS (4.0.1.1.0.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `UILibOCSample.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

Run Sample Code

Developers will need to setup the App Key by editing the sample code’s info.plist, after generating their unique App Key.

For the Objective-C sample app, the key value DJISDKAppKey should to be added to Info.plist with your unique app key as a string.

For the Swift sample app, the DJISDKAppKey is present in the Info.plist – developers just need to add their unique key.
In both cases developers will still need to update the Bundle Identifier .

One of DJI’s aircraft or handheld cameras will be required to run the sample application.

Development Workflow

From registering as a developer, to deploying an application, the following will take you through the full Mobile SDK Application development process:

Learn More about DJI Products, UILibrary and the Mobile SDK

Please visit DJI Mobile SDK Documentation for more details.

Core Concepts

UILibrary was designed around core concepts that help categorize the kind of UI elements available and their expectable behavior both at runtime and while being customized.

Widgets

Widget represent the major part of the UI. They are small view which display a specific piece of information.

They may also offer a precise control point to a specific action – for instance, take off.

Widgets offer many different customization angle. You may simply edit the image assets provided inside the UILibrary framework, change the visual rendering of the information consumed or provide your own information logic and reuse the existing rendering.

Widget Collections

Widget Collections are grouping objects which allow the developer to easily display a set of widgets in an orderly fashion without the hassle of building the organization mechanism.

They also provide structure for the widgets to look alike each other while inside the same collection and apply an interaction level to all as to offer potential customization points in behavior.

You can also create your own collections and add pre-existing widgets to them.

Panels

Panels are more complex control elements. They are usually a lot more enclosed because they handle very complex logics.
They can be placed in your app’s UI using native methods.

Contents

Contents represent the element that usually populates the background of the UI.
FPV is the most commonly used today.
They come ready to use and may have direct interactions with other widgets/panels.

Default Layout

The default layout is a fully functioning mini-DJI Go.
It uses all the elements of the UILibrary to give you the foundation of your app.

The default layout is easily changeable and configurable.

Model

Finally, the Model is a high level data accessor living inside the UILibrary and directly built on top of the mobile SDK.

It registers intentions from UILibrary objects and provides the data to them while handling most of the SDK’s life cycle events.

It is heavily used by widgets today and we recommend you using it in your custom work in the future.

Support

You can get support from DJI with the following methods:

  • DJI Forum
  • Post questions in Stackoverflow using dji-sdk tag
  • [email protected]

Latest podspec

{
    "name": "DJI-UILibrary-iOS",
    "version": "4.0.1.1.0.0",
    "summary": "DJI User Interface Library for iOS",
    "homepage": "https://github.com/dji-sdk/Mobile-UILibrary-iOS",
    "license": {
        "type": "CUSTOM",
        "text": "****************************************************************************************************************************nnDJI User Interface Library for iOS is offered under DJI's END USER LICENSE AGREEMENT. You can obtain the license from the below link:nnhttp://developer.dji.com/policies/eula/nn****************************************************************************************************************************nnSample code is offered under MIT License (See below).nnThe MIT License (MIT)nCopyright (c) 2017 DJInnPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.n****************************************************************************************************************************n"
    },
    "authors": {
        "DJI SDK": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source": {
        "http": "http://dh7g4ai1w5iq6.cloudfront.net/ios_sdk/iOS_UILibrary_4.0.1.1.0.0_170418.zip"
    },
    "ios": {
        "vendored_frameworks": "iOS_UILibrary/DJIUILibrary.framework"
    }
}

Pin It on Pinterest

Share This