Prepare UX Rework:

- Define the 4 tabs: Home, Fav, People and Rooms
This commit is contained in:
Giom Foret
2017-04-06 14:27:45 +02:00
parent 52021bd252
commit 4eb90fbb2e
23 changed files with 1958 additions and 575 deletions
+36 -1
View File
@@ -16,7 +16,19 @@
#import <MatrixKit/MatrixKit.h>
@interface RecentsViewController : MXKRecentListViewController
@interface RecentsViewController : MXKRecentListViewController <UIGestureRecognizerDelegate>
{
@protected
/**
The image view of the room creation button.
*/
UIImageView* createNewRoomImageView;
/**
Current alert (if any).
*/
MXKAlert *currentAlert;
}
/**
If YES, the table view will scroll at the top on the next data source refresh.
@@ -24,6 +36,11 @@
*/
@property (nonatomic) BOOL shouldScrollToTopOnRefresh;
/**
The Google Analytics Instance screen name (Default is "RecentsScreen").
*/
@property (nonatomic) NSString *screenName;
/**
Refresh the cell selection in the table.
@@ -33,5 +50,23 @@
*/
- (void)refreshCurrentSelectedCell:(BOOL)forceVisible;
#pragma mark - Room creation
/**
Add a Room creation button at the right bottom corner of the view.
*/
- (void)addRoomCreationButton;
/**
Action triggered when the user taps on the Room creation button.
Create an empty room by default.
*/
- (void)onRoomCreationButtonPressed;
/**
Create an empty room.
*/
- (void)createAnEmptyRoom;
@end