Skip to content

SHProgressView is an animated progress view for iOS written in swift.

License

Notifications You must be signed in to change notification settings

iamshezad/SHProgressView

Repository files navigation

SHProgressView

SHProgressView is an animated progress view for iOS written in swift.

A sample project demonstrates the usage of SHProgressView Class to implement progress view easily.

Swift 4.0 License Platform

Installation

Just drag and drop the SHProgressView folder to your project.

Cocoapods - updating soon

Usage

  1. Just drag and drop an Table View in storyboard and set Table View class to SHSelections and set an outlet.

  1. How to configure:

Example Code

    @IBOutlet weak var progressTV: SHProgressView!
  • Customise Progress view :

-- Progress cirle active & inactive color

progressTV.cricleActiveColor = UIColor(red: 0.0/255.0, green: 204.0/255.0, blue: 201.0/255.0, alpha: 1.0)
progressTV.cricleInactiveColor = UIColor.gray

-- Progress line active & inactive color

progressTV.lineActiveColor = UIColor(red: 0.0/255.0, green: 204.0/255.0, blue: 201.0/255.0, alpha: 1.0)
progressTV.lineInactiveColor = UIColor.gray  

-- Text active & inactive color

progressTV.textActiveColor = UIColor.darkGray
progressTV.textInactiveColor = UIColor.gray        
  • Set data to progress view :
progressTV.items = ["Set list of items here"] //An array of string
  • Animating progress view :

-- For animating to next Cell

 progressTV.next()

-- For animating to previous Cell

 progressTV.previous()

Note: Set data to progress view after customising

Requirements

  • iOS 10.0+

Example

Download the Sample project.

Contact

Mail me @: shezadahamed95@gmail.com

About

SHProgressView is an animated progress view for iOS written in swift.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages