Skip to content

svenbacia/circularprogressview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircularProgressView

CircularProgressView is a customisable circular progress view written in Swift.

CircularProgressView Preview

Requirements

  • iOS 8.x
  • Xcode 6
  • Swift 2

Installation

Copy CircularProgressView into your project.

Getting Started

  1. Create an instance from CircularProgressView either in code or directly in storyboard.
  2. Customize CircularProgressView for your needs (see Attributes).
  3. call setProgress(animated:) to set the new progress with or without animation.

Attributes

  • backgroundShapeColor: The progress views background color.
  • progressShapeColor: The progress color.
  • lineWidth: The line width of the background shape.
  • inset: The inset of the progress shapes line width. The default value is 0 which means that the progressShape is as thick as the background shapes lineWidth.
  • lineCap: Specifies the line cap for the progress shape (butt, round or square).

All attributes (except lineCap) can be edited directly in Interface Builder.

Edit Attributes in Interface Builder

License

CircularProgressView is release under an MIT License.

About

Customisable circular progress view written in Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages