Prepare UX rework:

- Handle optional sticky headers at RecentsViewController level.

TODO fix some flickering effects observed on the sticky headers during scrolling.
This commit is contained in:
Giom Foret
2017-04-14 11:49:14 +02:00
parent 076ca21993
commit 168111ed85
8 changed files with 431 additions and 66 deletions
+9
View File
@@ -69,6 +69,15 @@ typedef enum : NSUInteger
*/
@property (nonatomic) BOOL areSectionsShrinkable;
/**
Get the sticky header view for the specified section.
@param section the section index
@param frame the drawing area for the header of the specified section.
@return the sticky header view.
*/
- (UIView *)viewForStickyHeaderInSection:(NSInteger)section withFrame:(CGRect)frame;
#pragma mark - Drag & Drop handling
/**
Return true of the cell can be moved from a section to another one.