-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathVSTabBar.h
More file actions
executable file
·44 lines (32 loc) · 1.21 KB
/
VSTabBar.h
File metadata and controls
executable file
·44 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// VSTabBar.h
//
// Created by Vincent Saluzzo on 25/05/12.
// Copyright (c) 2012. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "VSTabBarItem.h"
#import "UIImage+ImageProcessing.h"
@class VSTabBar;
@protocol VSTabBarDelegate <NSObject>
-(void) tabBar:(VSTabBar*)tabBar selectedItemWithIndex:(NSInteger)index;
@end
@interface VSTabBar : UIView {
}
@property (nonatomic, readonly) NSArray *itemList;
@property (nonatomic, readonly) VSTabBarItem *selectedItem;
@property (nonatomic, assign) BOOL drawTitle;
@property (nonatomic, assign) BOOL drawImage;
@property (nonatomic, assign) BOOL showCurrentSelected;
@property (nonatomic, assign) BOOL showSeparationBetweenItems;
@property (nonatomic, assign) BOOL showSelectedItem;
@property (nonatomic, assign) BOOL isTopBar;
@property (nonatomic, retain) UIColor* backgroundColor;
@property (nonatomic, retain) UIColor* selectionGradientColor;
@property (nonatomic, retain) UIColor* currentSelectionIndicatorColor;
@property (nonatomic, retain) UIColor* separatorColor;
@property (nonatomic, retain) UIColor* foregroundColor;
@property (nonatomic, assign) id<VSTabBarDelegate> delegate;
-(void) setItems:(NSArray*)items;
-(void) selectItem:(NSInteger)index;
@end