來自uber的iOS MVC模型框架:jetstream-ios
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:
- Add Jetstream as a submodule:git submodule add https://github.com/uber/jetstream-ios.git
- Open theJetstreamfolder, and dragJetstream.xcodeprojinto the project navigator of your app.
- In Xcode, select your project, navigate to the General tab and click the + - icon in the "Embedded Binaries" section. SelectJetstream.framework.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!