Skip to content

Instantly share code, notes, and snippets.

@eliakorkmaz
Created February 20, 2023 22:52
Show Gist options
  • Save eliakorkmaz/5c1756f456a9a706645983b51302c8a5 to your computer and use it in GitHub Desktop.
Save eliakorkmaz/5c1756f456a9a706645983b51302c8a5 to your computer and use it in GitHub Desktop.
private let worker = ProfileViewModelWorker()
private var viewModel: ProfileViewModel!
override func viewDidLoad() {
super.viewDidLoad()
profileViewModel = ProfileViewModel(viewModelWorkable: worker)
profileViewModel.fetchAndTag()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment