My Project
 All Classes Functions Properties
ChatViewController.h
1 //
2 // ChatViewController.h
3 // BoredRoomBingo
4 //
5 // Created by Tom Reinhart on 11/24/14.
6 // Copyright (c) 2014 Tom Reinhart. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "config.h"
17 @interface ChatViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>
18 
19 
20 @property (nonatomic, strong) NSString* username;
21 @property (nonatomic, strong) NSMutableArray* chat;
22 @property (nonatomic, strong) Firebase* firebase;
23 @property (nonatomic, strong) NSString *url;
24 
25 @property (weak, nonatomic) IBOutlet UITextField *messageTextField;
26 @property (weak, nonatomic) IBOutlet UITableView *chatTableView;
27 
28 @end
Definition: ChatViewController.h:17
NSMutableArray * chat
array of all chat messages to be displayed
Definition: ChatViewController.h:21
NSString * username
username from message
Definition: ChatViewController.h:20
Firebase * firebase
Firebase reference.
Definition: ChatViewController.h:22
IBOutlet UITextField * messageTextField
text field for composing
Definition: ChatViewController.h:25
NSString * url
url for the game
Definition: ChatViewController.h:23