Y
Hacker News
new
|
ask
|
show
|
jobs
by
NiteOwl066
814 days ago
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.
1 comments
berkes
814 days ago
Do I understand it correct when the UI then calls methods or functions on a model layer?
link