Skip to content

Instantly share code, notes, and snippets.

@benjohnde
Created September 13, 2018 14:01
Show Gist options
  • Save benjohnde/b2b69bc8c8a38a42b614a76c2f0c87f0 to your computer and use it in GitHub Desktop.
Save benjohnde/b2b69bc8c8a38a42b614a76c2f0c87f0 to your computer and use it in GitHub Desktop.
import RxFlow
public class BootstrapViewModel: Stepper {
// MARK: - Init
public init() {
self.step.accept(BootstrapStep.welcome)
}
// MARK: - Navigation functions
public func navigateToCustomization() {
self.step.accept(BootstrapStep.customize)
}
public func exitBootstrapFlow() {
self.step.accept(BootstrapStep.finish)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment