RoomBubbleTableViewCell: show/hide message timestamp

This commit is contained in:
giomfo
2015-08-25 11:19:49 +02:00
parent 4cf5972bb6
commit 6c6b42f873
10 changed files with 280 additions and 5 deletions
+3 -2
View File
@@ -17,6 +17,7 @@
#import "RoomDataSource.h"
#import "EventFormatter.h"
#import "RoomBubbleCellData.h"
#import "RoomIncomingBubbleTableViewCell.h"
#import "RoomOutgoingBubbleTableViewCell.h"
@@ -27,8 +28,8 @@
self = [super initWithRoomId:roomId andMatrixSession:matrixSession];
if (self)
{
// Keep default Cell data class (MXKRoomBubbleCellDataWithAppendingMode)
// [self registerCellDataClass:MXKRoomBubbleCellDataWithAppendingMode.class forCellIdentifier:kMXKRoomBubbleCellDataIdentifier];
// Replace default Cell data class
[self registerCellDataClass:RoomBubbleCellData.class forCellIdentifier:kMXKRoomBubbleCellDataIdentifier];
// Replace cell view classes
[self registerCellViewClass:RoomIncomingBubbleTableViewCell.class forCellIdentifier:kMXKRoomIncomingTextMsgBubbleTableViewCellIdentifier];