diff options
| author | Teddy Wing | 2012-09-29 18:04:05 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2012-09-29 18:04:05 -0400 | 
| commit | 6ebbf728e84d8dc84d1f9606b9f792ce6d4a9344 (patch) | |
| tree | 7b9ec1f9793683ae8f8b6c5a773c9acbc684744c /Classes/ChatViewController.m | |
| parent | d14fe86d8c411ad41635a4736c2c736027f6b19b (diff) | |
| download | babblr-iOS-6ebbf728e84d8dc84d1f9606b9f792ce6d4a9344.tar.bz2 | |
Got message displaying working through web sockets by refreshing the data when it comes in.
Diffstat (limited to 'Classes/ChatViewController.m')
| -rw-r--r-- | Classes/ChatViewController.m | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Classes/ChatViewController.m b/Classes/ChatViewController.m index 971363c..5a9f01b 100644 --- a/Classes/ChatViewController.m +++ b/Classes/ChatViewController.m @@ -40,7 +40,7 @@      self.view.backgroundColor = [UIColor colorWithRed:219.0f/255.0f green:226.0f/255.0f blue:237.0f/255.0f alpha:1];  	chatTableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain]; -	dataSource = [[ChatMessagesDataSource alloc] init]; +	dataSource = [[ChatMessagesDataSource alloc] initWithTableView:chatTableView];  	[dataSource startMyWebSocket];  	[chatTableView setDataSource:dataSource];  	[self.view addSubview:chatTableView]; | 
