Inherits from M13ProgressView : UIView
Declared in M13ProgressViewBorderedBar.h
M13ProgressViewBorderedBar.m

Overview

A Progress bar with a thick border.

Properties

animationFromValue

The start progress for the progress animation.

@property (nonatomic, assign) CGFloat animationFromValue

Declared In

M13ProgressViewBorderedBar.m

animationStartTime

The start time interval for the animaiton.

@property (nonatomic, assign) CFTimeInterval animationStartTime

Declared In

M13ProgressViewBorderedBar.m

animationToValue

The end progress for the progress animation.

@property (nonatomic, assign) CGFloat animationToValue

Declared In

M13ProgressViewBorderedBar.m

backgroundLayer

The background layer that displays the border.

@property (nonatomic, retain) CAShapeLayer *backgroundLayer

Declared In

M13ProgressViewBorderedBar.m

borderWidth

The border width of the progress bar.

@property (nonatomic, assign) CGFloat borderWidth

Declared In

M13ProgressViewBorderedBar.h

cornerRadius

The corner radius of the ber if the corner type is set to Rounded.

@property (nonatomic, assign) CGFloat cornerRadius

Declared In

M13ProgressViewBorderedBar.h

cornerType

The type of corner to display on the bar.

@property (nonatomic, assign) M13ProgressViewBorderedBarCornerType cornerType

Declared In

M13ProgressViewBorderedBar.h

currentAction

The action currently being performed.

@property (nonatomic, assign) M13ProgressViewAction currentAction

Declared In

M13ProgressViewBorderedBar.m

displayLink

Link to the display to keep animations in sync.

@property (nonatomic, strong) CADisplayLink *displayLink

Declared In

M13ProgressViewBorderedBar.m

failureColor

The color the bar changes to for the failure action.

@property (nonatomic, retain) UIColor *failureColor

Declared In

M13ProgressViewBorderedBar.h

indeterminateLayer

The layer that is used to animate indeterminate progress.

@property (nonatomic, retain) CALayer *indeterminateLayer

Declared In

M13ProgressViewBorderedBar.m

maskLayer

The mask layer for the progress layer.

@property (nonatomic, retain) CAShapeLayer *maskLayer

Declared In

M13ProgressViewBorderedBar.m

progressDirection

The direction of progress. (What direction the fill proceeds in.)

@property (nonatomic, assign) M13ProgressViewBorderedBarProgressDirection progressDirection

Declared In

M13ProgressViewBorderedBar.h

progressLayer

The layer that displays progress in the progress bar.

@property (nonatomic, retain) CAShapeLayer *progressLayer

Declared In

M13ProgressViewBorderedBar.m

progressSuperLayer

The layer that contains the progress layer. That also masks the progress layer.

@property (nonatomic, retain) CALayer *progressSuperLayer

Declared In

M13ProgressViewBorderedBar.m

successColor

The color the bar changes to for the success action.

@property (nonatomic, retain) UIColor *successColor

Declared In

M13ProgressViewBorderedBar.h

Instance Methods

performAction:animated:

Perform the given action if defined. Usually showing success or failure.

- (void)performAction:(M13ProgressViewAction)action animated:(BOOL)animated

Parameters

action

The action to perform.

animated

Wether or not to animate the change

Declared In

M13ProgressView.h

setIndeterminate:

Wether or not the progress view is indeterminate.

- (void)setIndeterminate:(BOOL)indeterminate

Declared In

M13ProgressView.h

setPrimaryColor:

The primary color of the M13ProgressView.

- (void)setPrimaryColor:(UIColor *)primaryColor

Declared In

M13ProgressView.h

setProgress:animated:

Set the progress of the M13ProgressView.

- (void)setProgress:(CGFloat)progress animated:(BOOL)animated

Parameters

progress

The progress to show on the progress view.

animated

Wether or not to animate the progress change.

Declared In

M13ProgressView.h

setSecondaryColor:

The secondary color of the M13ProgressView.

- (void)setSecondaryColor:(UIColor *)secondaryColor

Declared In

M13ProgressView.h