Inherits from TKTableViewController : TKViewController : UIViewController
Conforms to UITextFieldDelegate
UITextViewDelegate
Declared in TKKeyboardTableViewController.h

Overview

This class provides additional functionality to TKTableViewController text entry. It will adjust its bounds when keyboards appear and hide keyboards when the user scrolls the table. When you subclass, make sure to set this view controller to the delegate of your UITextField and UITextView objects.

Tasks

Properties

  •   hideKeyboardOnScroll

    This flag is set to YES, it will call resignResponders when the user scrolls a table view. On iPad defaults to NO, Phone defaults to YES.

    property
  •   scrollToTextField

    This flag is set to YES, it will scroll the UITextField or UITextView into the bounds when it becomes the first responder. Defaults to YES.

    property

Methods

  • – scrollToView:

    Scrolls the tableview to keep the view within the table view bounds.

  • – resignResponders

    When subclassing, call resignFirstResponder on all your UITextField and UITextView objects

Properties

hideKeyboardOnScroll

This flag is set to YES, it will call resignResponders when the user scrolls a table view. On iPad defaults to NO, Phone defaults to YES.

@property (nonatomic, assign) BOOL hideKeyboardOnScroll

Discussion

This flag is set to YES, it will call resignResponders when the user scrolls a table view. On iPad defaults to NO, Phone defaults to YES.

Declared In

TKKeyboardTableViewController.h

scrollToTextField

This flag is set to YES, it will scroll the UITextField or UITextView into the bounds when it becomes the first responder. Defaults to YES.

@property (nonatomic, assign) BOOL scrollToTextField

Discussion

This flag is set to YES, it will scroll the UITextField or UITextView into the bounds when it becomes the first responder. Defaults to YES.

Declared In

TKKeyboardTableViewController.h

Instance Methods

resignResponders

When subclassing, call resignFirstResponder on all your UITextField and UITextView objects

- (void)resignResponders

Discussion

When subclassing, call resignFirstResponder on all your UITextField and UITextView objects

Declared In

TKKeyboardTableViewController.h

scrollToView:

Scrolls the tableview to keep the view within the table view bounds.

- (void)scrollToView:(UIView *)view

Parameters

view

The view that the table views bounds adjusts to.

Discussion

Scrolls the tableview to keep the view within the table view bounds.

Declared In

TKKeyboardTableViewController.h