Last active
March 31, 2017 09:12
-
-
Save AndreyPanov/8c50a33d072b877e051ae33a7d55da2c to your computer and use it in GitHub Desktop.
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
private func runAuthFlow() { | |
let coordinator = coordinatorFactory.makeAuthCoordinatorBox(router: router) | |
coordinator.finishFlow = { [weak self, weak coordinator] in | |
isAutorized = true | |
self?.start() //here we'll check instruction | |
self?.removeDependency(coordinator) | |
} | |
addDependency(coordinator) | |
coordinator.start() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment