来自uber的iOS MVC模型框架:jetstream-ios

jopen 9年前

Jetstream for iOS是一个优雅的MVC模型框架,采用Swift开发。它包括支付Jetstream同步协议来同步本和远程模型。它还拥有一个单一的Websocket transport 适配器,能够添加自定义的transport 适配器。

特性

  • Change observation
  • Fire-and-forget observation
  • Synchronization protocol to create multi-user applications in minutes
  • Modular architecture
  • Comprehensive Unit Test Coverage
  • Works well together with Objective-C

环境要求

  • iOS 7.0+ / Mac OS X 10.9+
  • Xcode 6.3

安装

Jetstream will be available as a CocoaPod once support for Swift lands. In the meanwhile, follow these steps:

  1. Add Jetstream as a submodule:git submodule add https://github.com/uber/jetstream-ios.git
  2. Open theJetstreamfolder, and dragJetstream.xcodeprojinto the project navigator of your app.
  3. In Xcode, select your project, navigate to the General tab and click the + - icon in the "Embedded Binaries" section. SelectJetstream.framework.

项目主页:http://www.open-open.com/lib/view/home/1441093671362