UX Rework: Add home page

- Add edition mode support.

https://github.com/vector-im/riot-meta/issues/75
This commit is contained in:
Giom Foret
2017-07-09 18:32:40 +02:00
parent ca0d6c460d
commit d23b6c65c7
9 changed files with 535 additions and 46 deletions
@@ -18,6 +18,13 @@
@implementation TableViewCellWithCollectionView
- (void)awakeFromNib
{
[super awakeFromNib];
self.editionViewHeightConstraint.constant = 0;
}
- (void)prepareForReuse
{
[super prepareForReuse];
@@ -25,6 +32,11 @@
self.collectionView.tag = -1;
self.collectionView.dataSource = nil;
self.collectionView.delegate = nil;
self.editionViewHeightConstraint.constant = 0;
self.editionView.hidden = YES;
self.collectionView.scrollEnabled = YES;
}
@end