News for hackers. Stuff that matters.
Re:Writing Gnome Apps with Swift by NiteOwl066 on Thursday March 28, 2024 @05:54AM (#39849272)
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.
Re:Writing Gnome Apps with Swift by berkes on Thursday March 28, 2024 @11:07AM (#39852523)
Do I understand it correct when the UI then calls methods or functions on a model layer?