고민의 발단

구상한 구조 다이어그램(?)

Untitled

~~Type 으로 관계를 나타내기 위해 ViewControllerType , ViewModelType , ViewType 을 생성


그렇게 만든 구조

CoordinatorType

protocol CoordinatorType: AnyObject {
    var childrenCoordinators: [CoordinatorType] { get set }
    func show()
}

ViewControllerType

typealias ViewControllerType = UIViewController & ViewRepresentable & ViewModelBindable