Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.16 KB

JBInputTableView

UITableView subclass which handles input text view. Suitable plugin for chat applications. It uses PHFComposeBarView as input view, great and easy to customize resizable text view.

alt tag

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like JBInputTableView in your projects.

Podfile

platform :ios, '8.0'
pod 'JBInputTableView'

USAGE

You can use it from Storyboards, XIBs or directly from code. Change your UITableView to JBInputTableView and make it firstResponder in viewDidLoad.

- (void)viewDidLoad {

    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"CellIdentifier"];
    self.tableView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;
    [self.tableView becomeFirstResponder];
}