IBTTabBarController.h 758 Bytes
//
//  IBTTabBarController.h
//  AceMTer
//
//  Created by Xummer on 2/27/15.
//  Copyright (c) 2015 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>

@class IBTBadgeView;
@interface IBTTabBarController : UITabBarController

- (UIViewController *)currentViewController;

- (UIViewController *)getTabBarBaseViewController:(NSUInteger)index;

- (void)setViewControllers:(NSArray *)controllers;

// Badge
- (void)setTabBarBadgeImage:(UIImage *)image forIndex:(NSUInteger)index;
- (void)setTabBarBadgeString:(NSString *)string forIndex:(NSUInteger)index;
- (void)setTabBarBadgeValue:(NSInteger)value forIndex:(NSUInteger)index;

- (IBTBadgeView *)getBadgeViewForIndex:(NSUInteger)index;
- (NSArray *)getBadgeViews;

- (void)bringBadgeViewsToFront;

@end