Latest 1.1.0
Homepage https://github.com/gzkiwiinc/DJIFileManager
License MIT
Platforms ios 10.0
Dependencies DJI-SDK-iOS, SnapKit, PromiseKit, MJRefresh, DJISDKExtension
Frameworks UIKit
Authors ,

DJIFileManger

iOS 9.0+ Swift 5.0 MIT

DJIFileManger 是一个基于 DJI-SDK-iOSDJISDKExtension 的简单媒体文件管理工具。它提供了缩略图浏览界面,单张预览图浏览,媒体文件信息查看,以及下载分享等功能。

DJIFileManger is a simple media files manager for DJI product. It’s base on DJI-SDK-iOS and DJISDKExtension. DJIFileManager provides thumbnail browsing, single preview browsing, media file information, as well as download and share functions, etc.

Features

  • [x] 缩略图浏览,分段加载。
  • [x] 单张预览图查看和分享。
  • [x] 多选下载,保存图片或视频文件到系统相册。
  • [x] 默认提供黑色和白色主题。

ScreenShot

加载缩略图 查看预览图及删除操作

Requirements

  • iOS 9.0+
  • Swift 5.0

Installation

DJIFileManger is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DJIFileManger'

Usage

import DJIFileManager

// DJIFileManagerLightTheme or DJIFileManagerDarkTheme
let theme: DJIFileManagerTheme.Type = DJIFileManagerLightTheme.self
let mediaFilesViewController = DJIMediaFilesViewController(style: theme)
navigationController?.pushViewController(mediaFilesViewController, animated: true)

本项目提供了 FileManagerExample 作为例子,运行起来后,点击 connect 连接无人机,当顶部状态显示 Acivated 和 Bound 即可点击 DJIFileManager 进入。

License

DJIFileManger is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DJIFileManager",
    "version": "1.1.0",
    "summary": "A file management component for DJISDK-iOS",
    "homepage": "https://github.com/gzkiwiinc/DJIFileManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kyle": "[email protected]",
        "Hanson": "[email protected]"
    },
    "source": {
        "git": "https://github.com/gzkiwiinc/DJIFileManager.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_versions": "5.0",
    "xcconfig": {
        "VALID_ARCHS": "arm64 arm64e"
    },
    "source_files": "DJIFileManager/*.swift",
    "resource_bundles": {
        "DJIFileManager": [
            "DJIFileManager/Assets/*"
        ]
    },
    "dependencies": {
        "DJI-SDK-iOS": [
            "~> 4.9"
        ],
        "SnapKit": [],
        "PromiseKit": [],
        "MJRefresh": [],
        "DJISDKExtension": []
    },
    "frameworks": "UIKit",
    "pod_target_xcconfig": {
        "ENABLE_BITCODE": "NO"
    }
}

Pin It on Pinterest

Share This