[Add] com-qqsdk-control-Tools 1.2.1
[CocoaPods.git] / Specs / e / 5 / 2 / RxSegue / 1.0.0 / RxSegue.podspec.json
blob5325df211c4e0245b065081598f9a1e01a2d628e
2   "name": "RxSegue",
3   "version": "1.0.0",
4   "summary": "Reactive generic segue",
5   "description": "Reactive generic segue.\n                        Implemented with RxSwift.\n                        Abstracts navigation logic\n\n```swift\nvar profileSegue: NavigationSegue<UINavigationController,\nProfileViewController,\nProfileViewModel> {\n   return NavigationSegue(fromViewController: self.navigationController!,\n            toViewControllerFactory: { (sender, context) -> ProfileViewController in\n               let profileViewController: ProfileViewController = ...\n               profileViewController.profileViewModel = context\n               return profileViewController\n         })\n   }\n//----------\n   pushButton.rx_tap\n      .map {\n         return ProfileViewModel(name: \"John Doe\",\n                  email: \"JohnDoe@example.com\",\n                  avatar: UIImage(named: \"avatar\"))\n               }\n               .bindTo(profileSegue)\n               .addDisposableTo(disposeBag)\n\n```",
6   "homepage": "https://github.com/RxSwiftCommunity/RxSegue.git",
7   "license": "MIT",
8   "authors": {
9     "sergdort": "sergdort@gmail.com"
10   },
11   "source": {
12     "git": "https://github.com/RxSwiftCommunity/RxSegue.git",
13     "tag": "1.0.0"
14   },
15   "social_media_url": "https://twitter.com/SergDort",
16   "platforms": {
17     "ios": "8.0"
18   },
19   "requires_arc": true,
20   "source_files": "Pod/Classes/**/*",
21   "dependencies": {
22     "RxSwift": [
23       "~> 3.0"
24     ]
25   },
26   "pushed_with_swift_version": "3.0"