Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwd-ali/jprogressview
Add Progress Animation in just 2 steps in your view developed using CAShapelayer and UIBezierPath drawing with CABasicAnimation.
https://github.com/jwd-ali/jprogressview
activityindicator activityindicatorview animation cabasicanimation calayer carthage cashapelayer cocoapods progress progressview ui ui-components uibezierpath xcode
Last synced: about 2 months ago
JSON representation
Add Progress Animation in just 2 steps in your view developed using CAShapelayer and UIBezierPath drawing with CABasicAnimation.
- Host: GitHub
- URL: https://github.com/jwd-ali/jprogressview
- Owner: jwd-ali
- License: mit
- Created: 2020-09-03T11:55:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T06:49:32.000Z (over 4 years ago)
- Last Synced: 2024-10-20T16:02:35.928Z (2 months ago)
- Topics: activityindicator, activityindicatorview, animation, cabasicanimation, calayer, carthage, cashapelayer, cocoapods, progress, progressview, ui, ui-components, uibezierpath, xcode
- Language: Swift
- Homepage:
- Size: 2.46 MB
- Stars: 15
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JProgressView
> Add Progress Animation in just 2 steps in your view[![CI Status](https://travis-ci.org/jwd-ali/RingPieChart.svg)](https://travis-ci.org/jwd-ali/RingPieChart)
[![CocoaPods Version](https://img.shields.io/cocoapods/v/Drag3DRotateCard.svg?style=flat)](https://cocoapods.org/pods/Drag3DRotateCard)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-0473B3.svg?style=flat)](https://github.com/Carthage/Carthage)
[![License](https://img.shields.io/cocoapods/l/RingPieChart.svg?style=flat)](https://cocoapods.org/pods/Drag3DRotateCard)
[![Platform](https://img.shields.io/cocoapods/p/RingPieChart.svg?style=flat)](https://cocoapods.org/pods/Drag3DRotateCard)
[![Swift 5.1](https://img.shields.io/badge/swift-5.1-orange)](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 **JProgressView** into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
use_frameworks!pod 'JProgressView'
```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/JProgressView"
```
### ManuallyIf you prefer not to use a dependency manager, you can integrate **JProgressView** into your project manually.
- Add sources into your project:
- Drag `ProgressView.swift` and `CALayer+Extension.swift`## Usage
> If you are using any dependency manager (pods , carthage , package manager)to integrate JProgressView. Import ProgressView first:
> ```swift
> import ProgressView
> ```> 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 = ProgressView()
> ```**OR**
> ```swift
> var progessView = ProgressView(colors: [.black, .red, .green, .yellow])
> ```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/JProgressView/pulls), for larger changes please [open an issue](https://github.com/jwd-ali/JProgressView/issues) first to discuss what you’d like to see.
License
-------JProgressView is under [MIT](https://opensource.org/licenses/MIT). See [LICENSE](LICENSE) file for more info.