mirror of
https://github.com/zhigang1992/TweetBotTabBar.git
synced 2026-01-12 09:34:23 +08:00
32 lines
644 B
Objective-C
32 lines
644 B
Objective-C
//
|
|
// TBTabBar.h
|
|
// TweetBotTabBar
|
|
//
|
|
// Created by Jerish Brown on 6/27/11.
|
|
// Copyright 2011 i3Software. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@protocol TBTabBarDelegate;
|
|
@interface TBTabBar : UIView {
|
|
NSMutableArray *_buttonData;
|
|
NSMutableArray *_buttons;
|
|
NSMutableArray *_statusLights;
|
|
id<TBTabBarDelegate> delegate;
|
|
}
|
|
|
|
@property (assign) id<TBTabBarDelegate> delegate;
|
|
|
|
-(id)initWithItems:(NSArray *)items;
|
|
|
|
-(void)showDefaults;
|
|
|
|
-(void)touchDownForButton:(UIButton*)button;
|
|
-(void)touchUpForButton:(UIButton*)button;
|
|
|
|
@end
|
|
|
|
@protocol TBTabBarDelegate
|
|
-(void)switchViewController:(UIViewController*)vc;
|
|
@end |