RBInputView Class Reference

Inherits from UIView
Declared in RBInputView.h

Overview

An abstract managed base input view class. Provides a consistent API for managing the current value and events.

  delegate

A delegate to provide current value updating. Must not be nil.

@property (nonatomic, weak, nullable) id<RBInputViewDelegate> delegate

Declared In

RBInputView.h

  currentValue

The current value of the input view.

@property (nonatomic, nullable) id currentValue

Declared In

RBInputView.h

  target

The target that the input view is displaying for.

@property (nonatomic, nonnull) UIResponder *target

Declared In

RBInputView.h

– closeInputView

Closes the input view.

- (void)closeInputView

Declared In

RBInputView.h

+ desiredHeight

The desired height of this type of input view.

+ (CGFloat)desiredHeight

Return Value

The desired height.

Declared In

RBInputView.h

– currentValueDidChange

Called when the current value was changed. Implement this method to update the UI accordingly.

- (void)currentValueDidChange

Declared In

RBInputView.h

– updateCurrentValue

Called when the current value should be updated from the input UI.

- (void)updateCurrentValue

Declared In

RBInputView.h

– didOpen

Called when the input view opened.

- (void)didOpen

Declared In

RBInputView.h

– didClose

Called when the input view closed.

- (void)didClose

Declared In

RBInputView.h