RBCollapsibleContainerHandleView Class Reference

Inherits from UIView
Declared in RBCollapsibleContainerHandleView.h

Overview

A toggle header for an RBCollapsibleContainerView object.

  delegate

A delegate to receive state change events.

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

Discussion

A delegate to receive state change events.

Declared In

RBCollapsibleContainerHandleView.h

  state

The current state of the header.

@property (nonatomic) RBCollapsibleContainerHandleState state

Discussion

The current state of the header.

Declared In

RBCollapsibleContainerHandleView.h

– sizeThatFits:state:

Calculates the size that is required to display the header in the given state.

- (CGSize)sizeThatFits:(CGSize)size state:(RBCollapsibleContainerHandleState)state

Parameters

size

The available size in the container.

state

The state of the header.

Return Value

The size required to display the header.

Discussion

Calculates the size that is required to display the header in the given state.

Declared In

RBCollapsibleContainerHandleView.h

– willChangeFromState:toState:

Called when the header will change it’s state.

- (void)willChangeFromState:(RBCollapsibleContainerHandleState)fromState toState:(RBCollapsibleContainerHandleState)toState

Parameters

fromState

The state that the header is changing from.

toState

The state that the header is changing to.

Discussion

Called when the header will change it’s state.

Declared In

RBCollapsibleContainerHandleView.h

– didChangeFromState:toState:

Called when the header has changed it’s state.

- (void)didChangeFromState:(RBCollapsibleContainerHandleState)fromState toState:(RBCollapsibleContainerHandleState)toState

Parameters

fromState

The state that the header is changing from.

toState

The state that the header is changing to.

Discussion

Called when the header has changed it’s state.

Declared In

RBCollapsibleContainerHandleView.h