SEssentialsPullToActionStatusView Protocol Reference

Conforms to NSObject
Declared in SEssentialsPullToActionStatusView.h
Availability
Related samples

Overview

The SEssentialsPullToActionStatusView protocol defines the messages sent to a status view from it’s parent SEssentialsPullToAction component, allowing the status view to update itself visually.

Instance Methods

applyStyle:

Called by the Pull to Action control whenever the style object is updated.

- (void)applyStyle:(SEssentialsPullToActionStyle *)style

Discussion

Use this opportunity to update the status view to conform to the new style.

Declared In

SEssentialsPullToActionStatusView.h

updateForPulledAmountChanged:pullThreshold:

Called by the Pull to Action’s visualizer whenever the pulled amount is changed.

- (void)updateForPulledAmountChanged:(CGFloat)pulledAmount pullThreshold:(CGFloat)pullThreshold

Discussion

Use this opportunity to update the status view visually for the new pulled amount.

Declared In

SEssentialsPullToActionStatusView.h

updateForState:

Called by the Pull to Action’s visualizer when a state change has occured.

- (void)updateForState:(SEssentialsPullToActionState)state

Discussion

Use this opportunity to update the status view visually for any state changes.

Declared In

SEssentialsPullToActionStatusView.h