//
//  EXMainViewController.swift
//  iOSApp-Swift
//
//  Created by 聂高涛 on 2021/12/26.
//

import UIKit

class EXMainViewController: NXViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.naviView.title = "EXMainViewController"
        
        self.naviView.forwardBar = NXNaviView.Bar.forward(image: nil, title: "详情", completion: {[weak self] owner in
            let vc = EXDetailViewController()
            self?.navigationController?.pushViewController(vc, animated: true)
        })
        
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        EXObjCConnector.main()
        EXSwiftConnector.main()
    }
}



