//
//  ItemDetailConfigurator.swift
//  PracticeApp
//
//  Created by Atsushi Miyake on 2018/09/09.
//  Copyright © 2018年 Atsushi Miyake. All rights reserved.
//

import Foundation
import CoordinatorKit

struct ItemDetailConfigurator: Configurator {
    typealias VC = ItemDetailViewController
    static func configure(with vc: ItemDetailConfigurator.VC, dependency: VC.Dependency) {
        let coordinator = ItemDetailCoordinator(viewController: vc)
        vc.viewModel = ItemDetailViewModel(coordinator: coordinator)
    }
}
