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

Overview

Progress is shown by a ring split up into segments.

Properties

animationFromValue

The start progress for the progress animation.

@property (nonatomic, assign) CGFloat animationFromValue

Declared In

M13ProgressViewSegmentedRing.m

animationStartTime

The start time interval for the animaiton.

@property (nonatomic, assign) CFTimeInterval animationStartTime

Declared In

M13ProgressViewSegmentedRing.m

animationToValue

The end progress for the progress animation.

@property (nonatomic, assign) CGFloat animationToValue

Declared In

M13ProgressViewSegmentedRing.m

backgroundLayer

The layer that the background shown on.

@property (nonatomic, retain) CAShapeLayer *backgroundLayer

Declared In

M13ProgressViewSegmentedRing.m

currentAction

The action currently being performed.

@property (nonatomic, assign) M13ProgressViewAction currentAction

Declared In

M13ProgressViewSegmentedRing.m

displayLink

Link to the display to keep animations in sync.

@property (nonatomic, strong) CADisplayLink *displayLink

Declared In

M13ProgressViewSegmentedRing.m

iconLayer

The layer that is used to render icons for success or failure.

@property (nonatomic, retain) CAShapeLayer *iconLayer

Declared In

M13ProgressViewSegmentedRing.m

numberOfSegments

The number of segments to display in the progress view.

@property (nonatomic, assign) NSInteger numberOfSegments

Declared In

M13ProgressViewSegmentedRing.h

percentageFormatter

The number formatter to display the progress percentage.

@property (nonatomic, retain) NSNumberFormatter *percentageFormatter

Declared In

M13ProgressViewSegmentedRing.m

percentageLabel

The label that shows the percentage.

@property (nonatomic, retain) UILabel *percentageLabel

Declared In

M13ProgressViewSegmentedRing.m

progress

Allow us to write to the progress.

@property (nonatomic, readwrite) CGFloat progress

Declared In

M13ProgressViewSegmentedRing.m

progressLayer

The layer that progress is shown on.

@property (nonatomic, retain) CAShapeLayer *progressLayer

Declared In

M13ProgressViewSegmentedRing.m

progressRingWidth

The width of the progress ring in points.

@property (nonatomic, assign) CGFloat progressRingWidth

Declared In

M13ProgressViewSegmentedRing.h

segmentBoundaryType

The type of boundary between segments.

@property (nonatomic, assign) M13ProgressViewSegmentedRingSegmentBoundaryType segmentBoundaryType

Declared In

M13ProgressViewSegmentedRing.h

segmentSeparationAngle

The angle of the separation between the segments in radians.

@property (nonatomic, assign) CGFloat segmentSeparationAngle

Declared In

M13ProgressViewSegmentedRing.h

showPercentage

Wether or not to display a percentage inside the ring.

@property (nonatomic, assign) BOOL showPercentage

Declared In

M13ProgressViewSegmentedRing.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