ParentFull threadNiteOwl066·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.View on HN