Skip to content

Instantly share code, notes, and snippets.

@LearnWithTung
Created April 23, 2020 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LearnWithTung/871043c6f6b719a2dd63dbe75e212649 to your computer and use it in GitHub Desktop.
Save LearnWithTung/871043c6f6b719a2dd63dbe75e212649 to your computer and use it in GitHub Desktop.
class FeedViewModel {}
class FeedViewController: UIViewController {
private var viewModel: FeedViewModel?
init(viewModel: FeedViewModel) {
self.viewModel = viewModel
super.init(nibName: nil, bundle: nil)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func viewDidLoad(){
super.viewDidLoad()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment