I'm trying to call a method in my FirstViewController that is the File Owner of the first View in a TabBar.
I've tried using this line of code but just get the error "No '-showData' method found":
[[tabBarController.viewControllers objectAtIndex:0] showData]
But the log says that [tabBarController.viewControllers objectAtIndex:0] is my FirstViewController: