Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.05 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.05 KB

iMessageBubble

A sub class of UITableViewCell to create exactly the same kind of bubbles that iMessage uses in iOS 8. Very easy to use and highly customizable.

Screenshots

Alt text

#Installation instructions

There are two ways to use this. One is to use the recommended way, i.e., the code and the other is to use XIB file.

To use the code:

  1. Register the class using the method "registerClass" of table view for each cell identifier (chatSend and chatReceive)
  2. Then get the instance of the cell using the normal method like so:
chatCell = (ChatTableViewCell *)[tableView dequeueReusableCellWithIdentifier:@"chatSend"];

To use XIB:

  1. Register using the method "registerNib" of tableView for each cell identifier (chatSend and chatReceive)
  2. Then get the instance of the cell using the normal method like so:
chatCell = (ChatTableViewCellXIB *)[tableView dequeueReusableCellWithIdentifier:@"chatSend"];

#NOTE

A sample fully working project is included.