mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Prepare UX Rework:
- Define the 4 tabs: Home, Fav, People and Rooms
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user