swift-cross-ui icon indicating copy to clipboard operation
swift-cross-ui copied to clipboard

Have ViewModel -> MVVM

Open jj10133 opened this issue 1 year ago • 1 comments
trafficstars

I saw Publisher class under State so I would like to ask if we would have the ViewModel concept here?

jj10133 avatar Jul 12 '24 21:07 jj10133

I think SwiftCrossUI does kinda force ViewModel concept on devs at the moment (cause all state must go in the observable state property of the view), although I would probably like to loosen that requirement in the future. Does that kinda answer your question?

stackotter avatar Jul 18 '24 13:07 stackotter