[page reloadData];
}
- [(CYNavigationController *) [self transientViewController] reloadData];
+ [(CYNavigationController *)[self transientViewController] reloadData];
}
- (id) initWithDatabase:(Database *)database {
CYNavigationController *controller = (CYNavigationController *) viewController;
if ([[controller viewControllers] count] == 0) {
- int index = [tabbar_ selectedIndex];
+ int index = [[tabbar_ viewControllers] indexOfObjectIdenticalTo:controller];
CYViewController *root = nil;
if (index == 0)