-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserChatViewController.h
More file actions
executable file
·43 lines (35 loc) · 1.35 KB
/
UserChatViewController.h
File metadata and controls
executable file
·43 lines (35 loc) · 1.35 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
//
// UserChatViewController.h
// Junction
//
// Created by Bobby Ren on 12/24/12.
//
//
#import <UIKit/UIKit.h>
#import "UserInfo.h"
#define MAX_ENTRIES_LOADED 25
#define TAG_PHOTO 1001
#define TAG_TEXTLABEL 1002
#define TAG_TIMELABEL 1003
@interface UserChatViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, PF_EGORefreshTableHeaderDelegate, UITextFieldDelegate>
{
PF_EGORefreshTableHeaderView *refreshHeaderView;
BOOL _reloading;
}
@property (nonatomic, weak) UserInfo * userInfo;
@property (nonatomic, weak) IBOutlet UILabel * labelConnectionRequired;
@property (nonatomic, weak) IBOutlet UIButton * buttonConnect;
@property (nonatomic, weak) IBOutlet UITableView * tableView;
@property (nonatomic, weak) IBOutlet UIView * chatView;
@property (nonatomic, weak) IBOutlet UITextField * chatInput;
@property (nonatomic, weak) IBOutlet UITextField * chatBar;
@property (nonatomic, weak) IBOutlet UIView * inputView;
@property (nonatomic, weak) IBOutlet UIButton * buttonChat;
@property (nonatomic, strong) NSString * chatChannel;
@property (nonatomic, strong) UIImage * userPhoto;
@property (nonatomic, strong) NSMutableArray *chatData;
-(IBAction)didClickSendChat:(id)sender;
-(IBAction)didClickConnect:(id)sender;
-(void) keyboardWasShown:(NSNotification*)aNotification;
-(void) keyboardWillHide:(NSNotification*)aNotification;
@end