Q:

class LogInViewController: UIViewController {
    var NetworkManager = NetworkManager()
}
func loginAction(){
    let loginVC = myStoryboard.instantiateViewController(withIdentifier: "LogInViewController") as! LogInViewController
    loginVC.networkManager.doSomeAction()
}

MOBILE APP DEVELOPMENT

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.