Skip to content

Instantly share code, notes, and snippets.

@Herakleis
Last active September 14, 2017 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Herakleis/1bd463db160a136e84075cfdedbf5d50 to your computer and use it in GitHub Desktop.
Save Herakleis/1bd463db160a136e84075cfdedbf5d50 to your computer and use it in GitHub Desktop.
Coordinator popped func
import RxSwift
@discardableResult
func popped(to viewController: UIViewController) -> Observable<Void> {
currentViewController = viewController
return .empty()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment