Chat Screen: Improve Room header

- add topic in preview header
- remove new line characters in topic string
- collapse expander header when user scrolls it down.
This commit is contained in:
giomfo
2016-04-19 15:28:15 +02:00
parent dd4327b9ab
commit 7abcadf0e6
8 changed files with 136 additions and 68 deletions
@@ -25,6 +25,7 @@
@interface RoomViewController : MXKRoomViewController <UISearchBarDelegate, UIGestureRecognizerDelegate, RoomTitleViewTapGestureDelegate>
// The expanded header
@property (weak, nonatomic) IBOutlet UIScrollView *expandedHeaderScrollView;
@property (weak, nonatomic) IBOutlet UIView *expandedHeaderContainer;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *expandedHeaderContainerHeightConstraint;