SwiftUI retain cycle in view hierarchy – Ios swift
I'm having the following view hierarchy which has a retain cycle, that's the simplest I could make to reproduce the issue. All viewmodels and properties has to stay as they are needed in the original solution: import SwiftUI struct MainView:…