krzysztofzablocki / Inject

Hot Reloading for Swift applications!
MIT License
2.14k stars 114 forks source link

i couldn't present ViewController #39

Closed isGeekCode closed 2 years ago

isGeekCode commented 2 years ago

at first, Thank you for make this comfortable method

What I want is simple I want to make an "ViewController" that becomes "inject"

i wrote below it

//no.1
       let viewController = Inject.ViewControllerHost(LoginViewController())
        self.navigationController?.pushViewController(viewController, animated: true)
//no.2
//        present(viewController, animated: true, completion: nil)

I'm sorry to ask you such an easy one

What should I do?

krzysztofzablocki commented 2 years ago

I'm unclear what your issue is, the code you posted should just work