Skip to content

Instantly share code, notes, and snippets.

@eliakorkmaz
Created February 20, 2023 22:40
Show Gist options
  • Save eliakorkmaz/1bc1a59ddae2e76f62126a773caf544f to your computer and use it in GitHub Desktop.
Save eliakorkmaz/1bc1a59ddae2e76f62126a773caf544f to your computer and use it in GitHub Desktop.
private let networker = ProfileNetworker()
private let tagger = ProfileAnalytic()
private var profileViewModel: ProfileViewModel!
override func viewDidLoad() {
super.viewDidLoad()
profileViewModel = ProfileViewModel(profileNetwork: networker, profileTagger: tagger)
profileViewModel.fetch()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment