Instance Property
viewController
The view controller this presenter updates.
@MainActor let viewController: ViewControllerType
Discussion
Stored for the rare case that the presenter needs to call directly into the view controller (for example, to push a UIKit view controller onto a navigation stack). In typical SwiftUI usage the presenter only mutates @Observable state and the view controller holds the presenter instead — this property is rarely read.