Last active
February 19, 2019 11:28
-
-
Save noxt/f4c828cbd51d6bbd0ecafa4cb2bed845 to your computer and use it in GitHub Desktop.
Component Scene
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
// Components/Categories/CategoriesScene.swift | |
struct CategoriesScene { | |
static func makeScene(with repositories: RepositoryProviderProtocol) -> Scene<CategoriesConnector, CategoriesComponent> { | |
let connector = CategoriesConnector(repositories: repositories) | |
let component = CategoriesComponent(connector: connector) | |
return Scene(connector, component) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment