Hi Andy, that’s a great point!
James Rochabrun

Hi James,

one approach I am using is making the call in Viewmodel class instead of viewcontroller . For example :

// In my viewcontroller

PostViewModel.load(post: Post) { [weak self] postModel in

guard let postViewModel = postModel else {



// Here a already have my viewmodels …


Let me know what you think …

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.