Skip to content

Commit

Permalink
Create CustomTabBarViewController.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rptwsthi committed Feb 25, 2013
1 parent 94d8cd5 commit 41ca07c
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions CustomTabBarViewController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
//
// CustomTabBarViewController.h
// CustomTabBar
//
// Created by medma on 7/11/12.
// Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TabSectionView.h"

#define k_iPhoneXIB @"CustomTabBarViewController_iPhone"
#define k_iPadXIB @"CustomTabBarViewController_iPad"

//@class TabSectionView;

@protocol CustomTabBarDelegate <NSObject>
@required

- (int)noOfTabsForTabView;

- (UIButton *) tabView:(UIView *)tabView buttonAtIndex : (NSInteger) index;

- (UITabBarController *) setTabBarController;

@optional
- (float) heightOftabView : (UIView *) customTabView;

//return k_iPhoneXIB or k_iPadXIB
- (NSString *) tabBarControllerForDevice;

@end



@interface CustomTabBarViewController : UIViewController {
id <CustomTabBarDelegate> delegate;
UIView *buttonContainerView;
}

@property (nonatomic, strong) id <CustomTabBarDelegate> delegate;
@property (nonatomic, strong) NSString *_nibNameString;
@property (nonatomic, strong) UIView *buttonContainerView;
@property (nonatomic, strong) IBOutlet UIImageView *bgImageView;

- (IBAction) onClick : (id) sender;
- (void) setTabBarDesign;
@end

0 comments on commit 41ca07c

Please sign in to comment.