- July 30, 2025
- Mins Read
Linear Progress Bar (inspired by Google Material Design) for iOS written in Swift 4.0
Please feel free to make pull requests 🙂
####Manually Simply add LinearProgressBar.swift file on your project.
####CocoaPods You can use Cocoapods to install Linear Progress Bar
by adding it to your Podfile
:
platform :ios, ‘8.0’
use_frameworks!
target ‘MyApp’ do
pod ‘LinearProgressBarMaterial’
end
//Simply, Call Progress Bar
let linearBar: LinearProgressBar = LinearProgressBar()
//Start Animation
self.linearBar.startAnimation()
//Stop Animation
self.linearBar.stopAnimation()
//Change background color
linearBar.backgroundColor = UIColor(red:0.68, green:0.81, blue:0.72, alpha:1.0)
linearBar.progressBarColor = UIColor(red:0.26, green:0.65, blue:0.45, alpha:1.0)
//Change height of progressBar
linearBar.heightForLinearBar = 5
PermissionsSwiftUI displays and handles permissions in SwiftUI. It is largely inspired by SPPermissions. The UI is highly customizable and resembles an Apple style. ...
Introduction PagerTabStripView is the first pager view built in pure SwiftUI. It provides a component to create interactive pager views ...
1. Taking Action When a Property Changes: Property Observers Swift lets you observe and respond to changes in a property’s ...