Almost there with my test, but the original ViewController lacks something, as the compiler cries:
Protocol 'View' requirement '_makeView(view:inputs:)' cannot be satisfied by a non-final class ('ViewController') because it uses 'Self' in a non-parameter, non-result type position
Can you point me to the "non-final class" fundamentals?
Thanks for the pathway!
PS: Adding "final" to the class declaration compiles, but no view is rendered
Almost there with my test, but the original ViewController lacks something, as the compiler cries:
Protocol 'View' requirement '_makeView(view:inputs:)' cannot be satisfied by a non-final class ('ViewController') because it uses 'Self' in a non-parameter, non-result type position
Can you point me to the "non-final class" fundamentals?
Thanks for the pathway!
PS: Adding "final" to the class declaration compiles, but no view is rendered
Can you provide some of your SwiftUI code ?
Thanks... but... solved!
Thing is that you can also do:
Cheers!