Skip to content

Instantly share code, notes, and snippets.

@sgl0v
Created December 31, 2019 09:56
Show Gist options
  • Save sgl0v/06457db6a41ac133e88582a9de219d60 to your computer and use it in GitHub Desktop.
Save sgl0v/06457db6a41ac133e88582a9de219d60 to your computer and use it in GitHub Desktop.
final class MoviesSearchViewModel: MoviesSearchViewModelType {
private weak var navigator: MoviesSearchNavigator?
private let useCase: MoviesUseCaseType
private var cancellables: [AnyCancellable] = []
init(useCase: MoviesUseCaseType, navigator: MoviesSearchNavigator) {
self.useCase = useCase
self.navigator = navigator
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment