Last active
May 3, 2018 15:55
-
-
Save trupin/c9f72645c001c754f759fadacb3edc37 to your computer and use it in GitHub Desktop.
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
final class MoviesViewController: UIViewController { | |
private let dependencies: MoviesViewControllerDependencyResolver | |
// weaver: movieManager <- MovieManaging | |
required init(injecting dependencies: MoviesViewControllerDependencyResolver) { | |
self.dependencies = dependencies | |
super.init(nibName: nil, bundle: nil) | |
} | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
dependencies.movieManager.getMovies { ... } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment