SCInputAccessoryView

@interface SCInputAccessoryView : UIView

This special view provides an accessory view that automatically appears on top of the keyboard, providing navigation functionality between the different text controls. The view provides ‘Next’, ‘Previous’, and ‘Done’ buttons. It also provides a special ‘Clear’ button for cells such as SCDateCell.

Sample use: self.tableViewModel.inputAccessoryView.rewind = FALSE;

See also: SCTableViewModel

Configuration

  • The toolbar holding the accessory’s different buttons and controls.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIToolbar *toolbar;
  • The segmented control displaying the ‘Next’ and ‘Previous’ buttons.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UISegmentedControl *previousNextSegmentedControl;
  • The ‘Done’ button control.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIBarButtonItem *doneButton;
  • Set to TRUE to show the Prev and Next buttons. Default: TRUE.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showPrevNextButtons;
  • Set to TRUE to show the ‘Clear’ button for the cells that need it (e.g. SCDateCell). Default: TRUE.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showClearButton;
  • The ‘Clear’ button control.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIBarButtonItem *clearButton;
  • Set to TRUE to rewind to the top or bottom text controls when the bottom or top is reached. Default: TRUE.

    Declaration

    Objective-C

    @property (nonatomic) BOOL rewind;

Internal Properties & Methods (should only be used by the framework or when subclassing)