This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MARK: - Coordinator keys | |
| enum AppChildCoordinator { | |
| case registration | |
| case dashboard | |
| } | |
| class AppCoordinator: Coordinator { | |
| // MARK: - Properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| class UIStoryboardSegueFromRight: UIStoryboardSegue { | |
| override func perform() | |
| { | |
| let src = self.sourceViewController as UIViewController | |
| let dst = self.destinationViewController as UIViewController | |
| src.view.superview?.insertSubview(dst.view, aboveSubview: src.view) |