1 Star 0 Fork 0

淘金小子 / underdark-cocoa

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Underdark iOS

http://underdark.io

Peer-to-peer networking library for iOS and Android, with Wi-Fi and Bluetooth support.

This repository contains library binaries, example app with sources and also short “Getting Started” guide below.

License

http://underdark.io/LICENSE.txt

Underdark is published under the Underdark License, which is modified Apache 2.0 license with added requirement that applications that use the library must add to their app store description the following line: “Mesh networking by http://underdark.io”

Demo apps

Video demo: http://www.youtube.com/watch?v=ox4dh0s1XTw

Author

You can contact me via Telegram at http://telegram.me/virlof or by email at virlof@gmail.com

Installation

  1. Download latest version: Download or previous version: https://bintray.com/underdark/ios/underdark/
  2. Unarchive downloaded .zip file into your project subdirectoy.
  3. Add all *.framework files/dirs from unarchive directory to “Embedded binaries” and “Linked Frameworks and Libraries” in your project target’s settings in Xcode.
  4. Add unarchived directory to "Framework Search Paths" in your Xcode Target's Build Settings.
  5. When using framework’s classes, import them with @import Underdark; in Objective-C or import Underdark in Swift.

Publishing your app to App Store

  1. Install Carthage https://github.com/Carthage/Carthage
  2. Add "Run Script" build phase to your app target's build phases with /usr/local/bin/carthage copy-frameworks code.
  3. As its input files list paths to all *.framework files in previously unarchived directory like that:
$(SRCROOT)/../underdark/Underdark.framework
$(SRCROOT)/../underdark/ProtocolBuffers.framework
  1. Place that Run Script build phase AFTER "Embed Frameworks" build phase.
  2. See more here: https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos

Getting started

Underdark API is very simple — it consists of entry class UDUnderdark with method configureTransport* — it allows you to create UDTransport instance with desired parameters (like network interface type) and specify UDTransportDelegate implementation for callbacks.

Full documentation resides in appledoc of Underdark.framework, starting from UDUnderdark class.

空文件

简介

Bluetooth peer-to-peer mesh networking for iOS 展开 收起
Objective-C
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Objective-C
1
https://gitee.com/quehanwei/underdark-cocoa.git
git@gitee.com:quehanwei/underdark-cocoa.git
quehanwei
underdark-cocoa
underdark-cocoa
master

搜索帮助