Inherits from UIView
Conforms to SEssentialsPullToActionStatusView
Declared in SEssentialsPullToActionDefaultStatusView.h
Availability
Related samples

Overview

A default implementation of the SEssentialsPullToAction’s status view.

Tasks

  •   statusLabel

    A label showing the current status of the Pull to Action control.

    property
  •   pullingIcon

    An icon to be displayed when the status view is being pulled.

    property
  •   textForStates

    The status view associates each state of the Pull to Action control with some text.

    property
  •   activityIndicator

    The activity indicator which is displayed when the action is executing.

    property

Properties

activityIndicator

The activity indicator which is displayed when the action is executing.

@property (nonatomic, retain) UIView *activityIndicator

Discussion

By default, this is an instance of UIActivityIndicator.

Warning: Override the method updateForState: to customize when the activity indicator shows/hides.

Declared In

SEssentialsPullToActionDefaultStatusView.h

pullingIcon

An icon to be displayed when the status view is being pulled.

@property (nonatomic, retain) UIView *pullingIcon

Discussion

By default, this is an SEssentialsPullToActionArrow which rotates as the Pull to Action control nears its pullThreshold.

Warning: Override the method updateForState: to customize when the pulling icon shows/hides.

Declared In

SEssentialsPullToActionDefaultStatusView.h

statusLabel

A label showing the current status of the Pull to Action control.

@property (nonatomic, retain) UILabel *statusLabel

Declared In

SEssentialsPullToActionDefaultStatusView.h

textForStates

The status view associates each state of the Pull to Action control with some text.

@property (nonatomic, retain) NSDictionary *textForStates

Discussion

This text is displayed in the status label when the Pull to Action control is in that state. The default mappings are:

SEssentialsPullToActionStateIdle => @"Idle"
SEssentialsPullToActionStatePulling => @"Pulling"
SEssentialsPullToActionStateRetracting => @"Retracting"
SEssentialsPullToActionStateTriggered => @"Triggered"
SEssentialsPullToActionStateExecuting => @"Executing"

Declared In

SEssentialsPullToActionDefaultStatusView.h