Prepare UX rework:

- Fix sections handling in unified search screen.
- Prepare sticky headers in RecentsViewController.
This commit is contained in:
Giom Foret
2017-04-11 17:58:59 +02:00
parent f25b2e7a51
commit 076ca21993
14 changed files with 432 additions and 244 deletions
+12
View File
@@ -60,6 +60,14 @@
*/
- (CGFloat)heightForHeaderInSection:(NSInteger)section;
/**
Get the title of the header of the specified section.
@param section the section index.
@return the section title.
*/
- (NSString *)titleForHeaderInSection:(NSInteger)section;
/**
Get the section header view.
@@ -75,6 +83,10 @@
- (void)forceRefresh;
#pragma mark - Configuration
/**
Tell whether the sections are shrinkable. NO by default.
*/
@property (nonatomic) BOOL areSectionsShrinkable;
/**
Tell whether the matrix id should be added by default in the matrix contact display name (NO by default).