DACircularProgress
  • September 24, 2023

DACircularProgress is a UIView subclass with circular UIProgressView properties.

It was originally built to be an imitation of Facebook’s photo progress indicator.

View the included example project for a demonstration.

Installation


To use DACircularProgress:

  • Copy over the DACircularProgress folder to your project folder.
  • Make sure that your project includes <QuartzCore.framework>.
  • #import "DACircularProgressView.h"

Example Code

self.progressView = [[DACircularProgressView alloc] initWithFrame:CGRectMake(140.0f, 30.0f, 40.0f, 40.0f)];
self.progressView.roundedCorners = YES;
self.progressView.trackTintColor = [UIColor clearColor];
[self.view addSubview:self.progressView];

  • You can also use Interface Builder by adding a UIView element and setting its class to DACircularProgress

Notes


Compatibility

iOS5.0+

Automatic Reference Counting (ARC) support

DACircularProgress was made with ARC enabled by default.

 

GitHub


View Github

YOU MIGHT ALSO LIKE...
ConfettiView

A SwiftUI View that emits confetti with user-defined shapes, images, and text.

SwiftUI Colour Wheel

A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...

ColorPickerRing

A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.

ASCollectionView

This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...