-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRightTabController.h
More file actions
executable file
·47 lines (37 loc) · 1.63 KB
/
RightTabController.h
File metadata and controls
executable file
·47 lines (37 loc) · 1.63 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
45
46
47
//
// RightTabController.h
// Junction
//
// Created by Bobby Ren on 12/24/12.
//
//
#import <UIKit/UIKit.h>
#import "Constants.h"
#import "UserInfo.h"
#import "UserProfileViewController.h"
#import "UserChatViewController.h"
#import "UserShareViewController.h"
#import "MKAdditions/UIAlertView+MKBlockAdditions.h"
//#define FIRST_BUTTON_OFFSET 60
@interface RightTabController : UIViewController <UINavigationControllerDelegate>
@property (nonatomic, strong) IBOutlet UIView * sidebarView;
@property (nonatomic, strong) IBOutlet UIView * contentView;
//@property (nonatomic, strong) IBOutlet UIView * headerView;
@property (nonatomic, strong) NSMutableArray * viewControllers;
@property (nonatomic, strong) NSMutableArray * sidebarItems;
@property (nonatomic, strong) UserProfileViewController * profileController;
@property (nonatomic, strong) UserChatViewController * chatController;
@property (nonatomic, strong) UserShareViewController * shareController;
@property (nonatomic, weak) IBOutlet UIButton * buttonConnect;
@property (nonatomic, weak) IBOutlet UILabel * labelConnect;
@property (nonatomic, weak) IBOutlet UIButton * backButton;
@property (nonatomic, weak) UserInfo * userInfo;
@property (nonatomic, strong) UIButton * buttonBlock;
@property (nonatomic, strong) UILabel * labelBlock;
-(IBAction)didClickConnect:(id)sender;
-(IBAction)didClickBlock:(id)sender;
-(void)addController:(UIViewController*)viewController withNormalImage:(UIImage*)normalImage andHighlightedImage:(UIImage*)highlightedImage andTitle:(NSString*)title;
-(void)selectSidebarItem:(id)sender;
-(void)didSelectViewController:(int)index;
//-(void)addDefaultControllers;
@end