mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
UX rework: Make the UI of the directory section header
This commit is contained in:
@@ -32,6 +32,14 @@ typedef enum : NSUInteger
|
||||
|
||||
} RecentsDataSourceMode;
|
||||
|
||||
|
||||
/**
|
||||
Action identifier used when the user tapped on the directory change button.
|
||||
|
||||
The `userInfo` is nil.
|
||||
*/
|
||||
extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
|
||||
|
||||
/**
|
||||
'RecentsDataSource' class inherits from 'MXKInterleavedRecentsDataSource' to define the Riot recents source
|
||||
shared between all the applications tabs.
|
||||
@@ -78,6 +86,14 @@ typedef enum : NSUInteger
|
||||
*/
|
||||
- (UIView *)viewForStickyHeaderInSection:(NSInteger)section withFrame:(CGRect)frame;
|
||||
|
||||
/**
|
||||
Get the height of the section header view.
|
||||
|
||||
@param section the section index
|
||||
@return the header height.
|
||||
*/
|
||||
- (CGFloat)heightForHeaderInSection:(NSInteger)section;
|
||||
|
||||
#pragma mark - Drag & Drop handling
|
||||
/**
|
||||
Return true of the cell can be moved from a section to another one.
|
||||
|
||||
Reference in New Issue
Block a user