Created
November 5, 2015 18:20
-
-
Save ivangodfather/80501631516704af8d44 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
| class ServiceLocator { | |
| static let instance = ServiceLocator() | |
| func getPresenterForCarList(ui: CarListUI, wireframe: CarWireframe) -> CarListPresenter { | |
| return CarListPresenter( | |
| ui: ui, | |
| useCase: GetCarList( | |
| agent: CarAgent( | |
| repository: CarRepository() | |
| ) | |
| ), | |
| wireFrame: wireframe | |
| ) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment