YLProgressBarBehavior Constants Reference
Declared in | YLProgressBar.h |
YLProgressBarBehavior
The behavior of a progress bar.
Definition
typedef NS_ENUM(NSUInteger, YLProgressBarBehavior ) {
YLProgressBarBehaviorDefault = 0,
YLProgressBarBehaviorIndeterminate = 1,
YLProgressBarBehaviorWaiting = 2,
};
Constants
YLProgressBarBehaviorDefault
-
The default behavior of a progress bar. This mode is identical to the UIProgressView.
Declared In
YLProgressBar.h
. YLProgressBarBehaviorIndeterminate
-
The indeterminate behavior display the stripes when the progress value is equal to 0 only. This mode is helpful when percentage is not yet known, but will be known shortly.
Declared In
YLProgressBar.h
. YLProgressBarBehaviorWaiting
-
The waiting behavior display the stripes when the progress value is equal to 1 only.
Declared In
YLProgressBar.h
.
Declared In
YLProgressBar.h