Your Registration class in example 2 is what most people would probably implement as RegistrationViewModel.
I'm not 100% with you on the "all ViewModels must die" train yet, but I do agree it's completely useless in a lot of scenarios. I started thinking about it a bit more and in my current project I just deleted/refactored a whole bunch of files because of this, because I realised they didn't bring anything to the table except for boilerplate code.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: