3个Pod
使用RxSwift实现的响应式通用segues。抽象导航逻辑
```swift var profileSegue: NavigationSegue { return NavigationSegue(fromViewController: self.navigationController!, toViewControllerFactory: { (sender, context) -> ProfileViewController in let profileViewController: ProfileViewController = ... profileViewController.profileViewModel = context return profileViewController }) } //---------- pushButton.rx_tap .map { return ProfileViewModel(name: "John Doe", email: "[email protected]", avatar: UIImage(named: "avatar")) } .bindTo(profileSegue) .addDisposableTo(disposeBag)
```
许可协议:MIT