I need to work with a method with attributes that are in another ViewController but I can not do it. What I'm trying:
let notasViewController: NotasViewController()
And also:
let notasViewController: NotasViewController = UIStoryboard.init(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "NotasViewController") as! NotasViewController
Always return EXC_BAD_ACESS or an error saying that my Storyboard does not contain this View Controller
Some help? Thanks!