https://github.com/iamshezad/shprogressview
SHProgressView is an animated progress view for iOS written in swift.
https://github.com/iamshezad/shprogressview
progress-circle progress-view swift-4 uitableview
Last synced: about 1 month ago
JSON representation
SHProgressView is an animated progress view for iOS written in swift.
- Host: GitHub
- URL: https://github.com/iamshezad/shprogressview
- Owner: iamshezad
- License: mit
- Created: 2019-01-01T11:38:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T12:03:23.000Z (about 7 years ago)
- Last Synced: 2025-03-13T13:14:02.858Z (11 months ago)
- Topics: progress-circle, progress-view, swift-4, uitableview
- Language: Swift
- Size: 328 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
[](https://developer.apple.com/swift/)
[](LICENSE)
[]()
## 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.
2. How to configure:
#### Example Code
```swift
@IBOutlet weak var progressTV: SHProgressView!
```
- Customise Progress view :
-- Progress cirle active & inactive color
```swift
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
```swift
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
```swift
progressTV.textActiveColor = UIColor.darkGray
progressTV.textInactiveColor = UIColor.gray
```
- Set data to progress view :
```swift
progressTV.items = ["Set list of items here"] //An array of string
```
- Animating progress view :
-- For animating to next Cell
```swift
progressTV.next()
```
-- For animating to previous Cell
```swift
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