From 2d6630dda9f7c3df0da956c4644f94342d2bb747 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 31 Oct 2018 00:13:21 +0300 Subject: Refresh data on path changes --- Juick/ViewControllers/MessagesViewController.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Juick/ViewControllers/MessagesViewController.h') diff --git a/Juick/ViewControllers/MessagesViewController.h b/Juick/ViewControllers/MessagesViewController.h index 688336b..9478a17 100644 --- a/Juick/ViewControllers/MessagesViewController.h +++ b/Juick/ViewControllers/MessagesViewController.h @@ -16,8 +16,9 @@ @interface MessagesViewController : UITableViewController @property(nonatomic, strong) NSString *path; @property(nonatomic, strong) NSDictionary *params; +@property(nonatomic, assign) BOOL shouldScrollToBottomOnRefresh; + -(void) refreshData; --(void) refreshData:(BOOL)scrollToBottom; @property(nonatomic, strong) NSMutableArray *messages; @property(nonatomic, assign) Boolean dataLoading; -- cgit v1.2.3