WKZombie icon indicating copy to clipboard operation
WKZombie copied to clipboard

how can I pass WKZombie between ViewControllers

Open avisual opened this issue 7 years ago • 2 comments

How can I pass browsers between view controllers and maintain state and context?

avisual avatar Jul 20 '17 18:07 avisual

override func prepare(for segue: UIStoryboardSegue, sender: Any?) {

    if segue.identifier == "wifiSettings" {
        if let toViewController = segue.destination as? WifiSettingsVC {
            toViewController.browser = browser
        }
    }
}

does not seem to have context when passed

avisual avatar Jul 20 '17 18:07 avisual

I've tried using a new wkzombie instance. But it does not seem to work as expected.

When I open a new view controller using a new or passed instance of wkzombie it seems to be none responsive. Am I stuck in a closure or wrong thread

Any help from other developers would be greatly appreciated.

avisual avatar Aug 09 '17 23:08 avisual