Skip to content

An example of Linear Progress Bar in swift like Android.

Notifications You must be signed in to change notification settings

jams032/LinearProgressBarSwift

Repository files navigation

LinearProgressBarSwift

An example of Linear Progess Bar in swift like Android.

LinearProgressBarSwift A framework that allows you to create a Linear Progress Bar like in Android ( https://i.stack.imgur.com/wAkcG.png ).

How to use it:

  1. Get the repository.
  2. Copy LinearProgressBar, Utility class. Create IBOutlet of uiview and connect.
  3. In viewDidLoad(), write to show the prgress :

Utility.addLinearProgressBar(parentView: self.linearProgressBarHolder, subView: self.linearBar) self.linearBar.startAnimation()

To stop Animation/Hide, use :

self.linearBar.stopAnimation()

Note : Some idea of the class is taken from https://github.com/PhilippeBoisney/LinearProgressBar but implementation logic is different.

Thanks.

About

An example of Linear Progress Bar in swift like Android.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages