Last active
September 20, 2022 02:07
-
-
Save codedeman/5d942bf23b02c9f99ea513bac1a937b6 to your computer and use it in GitHub Desktop.
MockMoviePresenter
This file contains 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
class MockMoviePresenter:MoviePresenter { | |
var listMovie:[FilmModel] = [] | |
var isCompleted = false | |
func didGetListMovie(listMovie: [FilmModel]) { | |
self.listMovie = listMovie | |
} | |
func success(){ | |
self.isCompleted = true | |
} | |
func fail() { | |
self.isCompleted = false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment