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

Do I understand it correct when the UI then calls methods or functions on a model layer?