summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/MessagesViewController.h
blob: 688336b44c6f42b3f0eec12f4748bb7c04924b49 (plain) (blame)
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
//
//  MasterViewController.h
//  Juick
//
//  Created by Vitaly Takmazov on 26.10.13.
//  Copyright (c) 2013 com.juick. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageCell.h"

@protocol MessagesDelegate
-(void) loadMore;
@end

@interface MessagesViewController : UITableViewController
@property(nonatomic, strong) NSString *path;
@property(nonatomic, strong) NSDictionary *params;
-(void) refreshData;
-(void) refreshData:(BOOL)scrollToBottom;

@property(nonatomic, strong) NSMutableArray *messages;
@property(nonatomic, assign) Boolean dataLoading;
@property(nonatomic, weak) id<MessagesDelegate> messagesDelegate;
@end