UIView(ActivityIndication) Category Reference

Conforms to RBActivityViewDelegate
Declared in UIView+ActivityIndication.h

Overview

UIView activity indication.

  activityView

The activity view.

@property (nonatomic, readonly, nullable) RBActivityView *activityView

Declared In

UIView+ActivityIndication.h

  activityRunning

Whether or not the activity indicator is currently active.

@property (nonatomic, readonly) BOOL activityRunning

Declared In

UIView+ActivityIndication.h

– stopAllIndeterminateActivities

Stops all of the currently running indeterminate activities.

- (void)stopAllIndeterminateActivities

Declared In

UIView+ActivityIndication.h

– startIndeterminateActivity

Starts an indeterminate activity.

- (void)startIndeterminateActivity

Declared In

UIView+ActivityIndication.h

– stopIndeterminateActivity

Stops an indeterminate activity.

- (void)stopIndeterminateActivity

Declared In

UIView+ActivityIndication.h

– startDeterminateActivityWithID:

Starts a determinate activity with the given unique identifier used to provide updates.

- (void)startDeterminateActivityWithID:(nonnull NSString *)indentifier

Parameters

indentifier

The unique identifier of this determinate activity job.

Declared In

UIView+ActivityIndication.h

– stopDeterminateActivityWithID:

Stops the determinate activity with the given unique identifier.

- (void)stopDeterminateActivityWithID:(nonnull NSString *)indentifier

Parameters

indentifier

The unique identifier of the determinate activity to stop.

Declared In

UIView+ActivityIndication.h

– setDeterminateActivityProgress:withText:withID:

Updates the progress of a determinate activity.

- (void)setDeterminateActivityProgress:(float)progress withText:(nullable NSString *)text withID:(nonnull NSString *)identifier

Parameters

progress

The current progress from 0 to 1.

text

A string describing the current state of the determinate activity.

identifier

The unique identifier of the determinate activity.

Declared In

UIView+ActivityIndication.h

– viewActivitiesWillBegin

Called when the activity indicator will become active.

- (void)viewActivitiesWillBegin

Declared In

UIView+ActivityIndication.h

– viewActivitiesDidBegin

Called when the activity indicator did become active.

- (void)viewActivitiesDidBegin

Declared In

UIView+ActivityIndication.h

– viewActivitiesWillStop

Called when the activity indicator will become inactive.

- (void)viewActivitiesWillStop

Declared In

UIView+ActivityIndication.h

– viewActivitiesDidStop

Called when the activity indicator did become inactive.

- (void)viewActivitiesDidStop

Declared In

UIView+ActivityIndication.h