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