https://github.com/jwd-ali/barloading
Sometimes simplicity attracts you. Color Fill Loading animation is between those Bar loading animations
https://github.com/jwd-ali/barloading
calayer carthage cashapelayer ios ipad iphone progress-bar progressview swift swift5 swift5-3 ui ui-components uibezierpath uikit
Last synced: 4 months ago
JSON representation
Sometimes simplicity attracts you. Color Fill Loading animation is between those Bar loading animations
- Host: GitHub
- URL: https://github.com/jwd-ali/barloading
- Owner: jwd-ali
- License: mit
- Created: 2020-09-09T04:04:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T04:31:38.000Z (over 5 years ago)
- Last Synced: 2025-04-16T17:55:01.335Z (10 months ago)
- Topics: calayer, carthage, cashapelayer, ios, ipad, iphone, progress-bar, progressview, swift, swift5, swift5-3, ui, ui-components, uibezierpath, uikit
- Language: Swift
- Homepage:
- Size: 5.48 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# BarLoading
> Add Progress Animation in just 2 steps in your view
[](https://travis-ci.org/jwd-ali/RingPieChart)
[](https://cocoapods.org/pods/Drag3DRotateCard)
[](https://github.com/Carthage/Carthage)
[](https://cocoapods.org/pods/Drag3DRotateCard)
[](https://cocoapods.org/pods/Drag3DRotateCard)
[](https://swift.org)
___
## Requirements
- iOS 10.0+ / Mac OS X 10.9+ / watchOS 2.0+ / tvOS 9.0+
- Xcode 8.0+
## Installation
### [CocoaPods](http://cocoapods.org)
To integrate **BarLoading** into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
use_frameworks!
pod 'BarLoading'
```
Then, run the following command:
```bash
$ pod install
```
### [Carthage](http://github.com/Carthage/Carthage)
To integrate `JProgressView` into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
github "jwd-ali/BarLoading"
```
### Manually
If you prefer not to use a dependency manager, you can integrate **BarLoading** into your project manually.
- Add sources into your project:
- Drag `BarLoading.swift`, `Tracks.swift` and `CALayer+Extension.swift`
## Usage
> If you are using any dependency manager (pods , carthage , package manager)to integrate BarLoading. Import BarAimation first:
> ```swift
> import BarAimation
> ```
> And for Manuall install you dont need to import anything
You need to simply initiate progressView with four colours if you want to customise colors initiate like this
> ```swift
> var progessView = BarLoading()
> ```
Then in which view you want to show progress call
> ```swift
>progessView.StartAnimating(in: self.view)
> ```
To stop and hide call
> ```swift
> progessView.stopAnimating()
> ```
For better understanding framework includes example project as well
Congratulations! You're done.
## Contributing
I’d love to have help on this project. For small changes please [open a pull request](https://github.com/jwd-ali/BarLoading/pulls), for larger changes please [open an issue](https://github.com/jwd-ali/BarLoading/issues) first to discuss what you’d like to see.
License
-------
BarLoading is under [MIT](https://opensource.org/licenses/MIT). See [LICENSE](LICENSE) file for more info.