         if (self.delegate && [self.delegate respondsToSelector:@selector(tabBar:didSelectTabAtIndex:)]) {             [self.delegate tabBar:self didSelectTabAtIndex:[self.tabBarButtons indexOfObject:sender]]