Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repo contains a demo app for circularProgressBar.swift

License

Notifications You must be signed in to change notification settings

quacklabs/circularProgressBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

Circular Progress Bar

Usage

- without Storyboard

- declare

var progressBar : CircularProgressBar!

- initialize

- on its own

let frame = CGRect(x: 0, y: 0, width: 50, height: 50)

- or use containing view

let frame = view.frame

create view

progressBar = CircularProgressBar(frame: frame)

This application demonstrates how to use CircularProgressBar.

Public functions and variables

var lineWidth: CGFloat

When set it changes the lineWidth of the progress bar

var labelSize: CGFloat

When set it changes the label size of the progress bar

var safePercent: Int

Safe percent is the percent when we want the circular progress bar to be green

setProgress(to progressConstant: Double, withAnimation: Bool)

Used to set the progress of the progress bar

progressConstant: Double

Value between 0.00 to 1.00

withAnimation: Bool

true if you want to use animation else false

About

This repo contains a demo app for circularProgressBar.swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%

AltStyle によって変換されたページ (->オリジナル) /