I'm using this function:
- (NSUInteger)indexOfViewController:(UIViewController *)viewController
{
return viewController.ident; // this doesn't work: property 'ident' not found
}
In this function there are getting passed viewControllers
from different types so: vc1, vc2, vc3, vc4, ... and they all have a 'ident
' property and inherit from UIViewController
. How can I access this property?