Skip to content

UITableView which handles input text view. Suitable plugin for chat applications.

License

Notifications You must be signed in to change notification settings

josipbernat/JBInputTableView

Repository files navigation

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];
}

About

UITableView which handles input text view. Suitable plugin for chat applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published