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
Discussion
A delegate to provide current value updating. Must not be nil
.
Declared In
RBInputView.h
currentValue
The current value of the input view.
@property (nonatomic, nullable) id currentValue
Discussion
The current value of the input view.
Declared In
RBInputView.h
target
The target that the input view is displaying for.
@property (nonatomic, nonnull) UIResponder *target
Discussion
The target that the input view is displaying for.
Declared In
RBInputView.h
– closeInputView
Closes the input view.
- (void)closeInputView
Discussion
Closes the input view.
Declared In
RBInputView.h
+ desiredHeight
The desired height of this type of input view.
+ (CGFloat)desiredHeight
Return Value
The desired height.
Discussion
The desired height of this type of input view.
Declared In
RBInputView.h
– currentValueDidChange
Called when the current value was changed. Implement this method to update the UI accordingly.
- (void)currentValueDidChange
Discussion
Called when the current value was changed. Implement this method to update the UI accordingly.
Declared In
RBInputView.h
– updateCurrentValue
Called when the current value should be updated from the input UI.
- (void)updateCurrentValue
Discussion
Called when the current value should be updated from the input UI.
Declared In
RBInputView.h
– didOpen
Called when the input view opened.
- (void)didOpen
Discussion
Called when the input view opened.
Declared In
RBInputView.h
– didClose
Called when the input view closed.
- (void)didClose
Discussion
Called when the input view closed.
Declared In
RBInputView.h