HPLChatViewController is a component for making sms like screens on iOS. It is a fork of https://github.com/AlexBarinov/UIBubbleTableView, which is no longer maintained.
pod 'HPLChatViewController', '~> 0.0.3'
You must implement a view controller that conforms to the HPLChatTableViewDataSource
protocol. This requires implementing the following
methods:
- (NSInteger) numberOfRowsForChatTable:(HPLChatTableView *)tableView;
- (HPLChatData *)chatTableView:(HPLChatTableView *)tableView dataForRow:(NSInteger)row;
The following properties are exposed on HPLChatData
to allow for visual customization.
/**
Set a custom avatar view. If nil then the default Not-Found image is used for avatar.
*/
@property (readwrite, nonatomic, strong) UIView *avatarView;
/**
Set a custom bubble view if you don't want to use the default bubble view style.
If nil, default style used.
*/
@property (readwrite, nonatomic, strong) UIView *bubbleView;
/**
Set a status for a message with a custom view to be displayed
*/
- (void)setMessageStatus:(HPLChatMessageStatus)messageStatus withView:(UIView*)statusView;
The project was created by Alex Barinov, maintained by
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/. See LICENSE for the complete license.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.