I am trying to Compile my app again now that Swift 2 is out and the thing is I am having an error with
I am declaring the instances in vars in order to use methods from anothers
Here it's my code:
let barViewControllers = self.tabBarController?.viewControllers let listViewController = barViewControllers!.viewControllers! as! dbViewController //The  is because it's the third TabBar and the  it's because It's embebed in a NavigationController. let calendarViewController = barViewControllers! as! CalendarViewController
In the second line Im having the following error:
UIViewController does not have a member named "viewControllers"
Anybody could help me?