SEssentialsPullToActionVisualizer Protocol Reference

Conforms to NSObject
SEssentialsPullToActionDelegate
Declared in SEssentialsPullToActionVisualizer.h
Availability
Related samples

Overview

The SEssentialsPullToActionVisualizer protocol defines the messages sent to a status view from it’s parent SEssentialsPullToAction control.

The visualizer is responsible for forwarding messages to the status view regarding state changes, handing positioning / size changes, and taking care of animation.

Instance Methods

pullToAction:layoutStatusView:

Called by the Pull to Action control when a new status view is set.

- (void)pullToAction:(SEssentialsPullToAction *)pullToAction layoutStatusView:(SEssentialsPullToActionStatusView *)statusView

Discussion

Use this opportunity to position, set autoresizing masks, or any other initial setup that the status view may need.

Declared In

SEssentialsPullToActionVisualizer.h

pullToAction:pulledAmountChanged:

Called by the Pull to Action control when the pulled amount is changed.

- (void)pullToAction:(SEssentialsPullToAction *)pullToAction pulledAmountChanged:(CGFloat)pulledAmount

Discussion

Use this opportunity to reposition / resize the Pull to Action control and notify the status view of the size change.

Declared In

SEssentialsPullToActionVisualizer.h

pullToActionActionCompleted:

Called by the Pull to Action control when its action is completed.

- (void)pullToActionActionCompleted:(SEssentialsPullToAction *)pullToAction

Discussion

Use this opportunity to trigger an animation after the pull action is completed.

Declared In

SEssentialsPullToActionVisualizer.h