Created
November 30, 2018 10:54
-
-
Save Sajjon/868ad89fd8b4e1d615cd5697f7e60349 to your computer and use it in GitHub Desktop.
Medium article: SLC part 3 - OnboardingCoordinato Push Scene
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 extension OnboardingCoordinator { | |
| func toTermsOfService() { | |
| let viewModel = TermsOfServiceViewModel(useCase: onboardingUseCase) | |
| push(scene: TermsOfService.self, viewModel: viewModel) { [unowned self] userDid in | |
| switch userDid { | |
| case .acceptTermsOfService: self.toAnalyticsPermission() | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment