My fingers hurt as I type this, and I hate to admit it, but view models (as in MVVM) kinda make sense.
It’s definitely too much for a most simple situations, but if the logic of your view controller is present in two similar use cases, view models help tremendously.
I type this as I’m writing a suite of Mac/iOS apps that share lots of code, including at UI level (no I’m not using fucking marzipan 😷).
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!