Available thru Cocoapods
Latest 0.0.3
Homepage https://github.com/huffpostlabs/HPLChatViewController
License Creative Commons Attribution-ShareAlike 3.0 Unported

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.

Installation

Cocoapods

pod 'HPLChatViewController', '~> 0.0.3'

Usage

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;

Customization

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;

Contributors

The project was created by Alex Barinov, maintained by

License

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.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Latest podspec

{
    "name": "HPLChatViewController",
    "version": "0.0.3",
    "summary": "HPLChatViewController is for making sms like views on iOS. It is a fork of https://github.com/AlexBarinov/UIBubbleTableView.",
    "homepage": "https://github.com/huffpostlabs/HPLChatViewController",
    "license": {
        "type": "Creative Commons Attribution-ShareAlike 3.0 Unported",
        "file": "LICENSE"
    },
    "authors": {
        "Matthew Conlen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/huffpostlabs/HPLChatViewController.git",
        "tag": "0.0.3"
    },
    "platforms": {
        "ios": "4.0"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "resources": [
        "Images",
        "Images/**/*.png"
    ],
    "requires_arc": false
}

Pin It on Pinterest

Share This