Overview
This library provides a customizable and indeterminate progress bar for iOS applications. It can be used to indicate an ongoing process or a task with an unknown duration.
Features
- Customizable appearance
- Indeterminate progress animation
- Smooth transitions
- Supports both horizontal and vertical orientations
- Lightweight and easy to use
Installation
To integrate the GSIndeterminateProgressBar library into your iOS project:
pod 'GSIndeterminateProgressBar'
Usage
1. Import the GSIndeterminateProgressBar module into your view controller:
import GSIndeterminateProgressBar
2. Create an instance of GSIndeterminateProgressBar:
let progressBar = GSIndeterminateProgressBar()
3. Customize the appearance of the progress bar, if desired:
progressBar.tintColor = .blue
4. Add the progress bar to your view and start animating:
view.addSubview(progressBar) progressBar.startAnimating()
5. Stop animating the progress bar when the task is completed:
progressBar.stopAnimating()
For more detailed usage instructions, refer to the GitHub repository or the library’s documentation.
License
The GSIndeterminateProgressBar library is available under the MIT license. See the LICENSE file for more information.