RBKeyboardObserver Protocol Reference

Conforms to NSObject
Declared in RBUICenter.h

Overview

An observer of changes to the keyboard state.

– keyboardWillOpenWithFrame:

Called when the keyboard will open.

- (void)keyboardWillOpenWithFrame:(CGRect)frame

Parameters

frame

The frame that the keyboard will occupy when opened.

Declared In

RBUICenter.h

– keyboardDidOpenWithFrame:

Called when the keyboard did open.

- (void)keyboardDidOpenWithFrame:(CGRect)frame

Parameters

frame

The frame that the keyboard occupied when it opened.

Declared In

RBUICenter.h

– keyboardWillHide

Called when the keyboard will hide.

- (void)keyboardWillHide

Declared In

RBUICenter.h

– keyboardDidHide

Called when the keyboard did hide.

- (void)keyboardDidHide

Declared In

RBUICenter.h

– keyboardFrameWillChangeTo:from:

Called when the keyboard frame will change.

- (void)keyboardFrameWillChangeTo:(CGRect)frame from:(CGRect)previousFrame

Parameters

frame

The new frame that the keyboard will use.

previousFrame

The previous frame.

Declared In

RBUICenter.h

– keyboardFrameDidChangeTo:from:

Called when the keyboard frame has changed.

- (void)keyboardFrameDidChangeTo:(CGRect)frame from:(CGRect)previousFrame

Parameters

frame

The new frame that the keyboard changed to.

previousFrame

The previous frame.

Declared In

RBUICenter.h