Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
NiteOwl066
· 2y ago · 0 comments
You would just use some architecture pattern. I would say the most natural one for SwiftUI is MVVM so the logic would go to viewModel.
Comments
[–]
berkes
2y ago
Do I understand it correct when the UI then calls methods or functions on a model layer?