6 ms·
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.
by NiteOwl066 3y 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.
- berkes 3y agoDo I understand it correct when the UI then calls methods or functions on a model layer?