Comment Comment by NiteOwl066 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. parent NiteOwl066 2 years ago