- Notifications
You must be signed in to change notification settings - Fork1
Add Progress Animation in just 2 steps in your view developed using CAShapelayer and UIBezierPath drawing with CABasicAnimation.
License
jwd-ali/JProgressView
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Add Progress Animation in just 2 steps in your view
- iOS 10.0+ / Mac OS X 10.9+ / watchOS 2.0+ / tvOS 9.0+
- Xcode 8.0+
To integrateJProgressView into your Xcode project using CocoaPods, specify it in yourPodfile:
use_frameworks!pod'JProgressView'
Then, run the following command:
$ pod install
To integrateJProgressView into your Xcode project using Carthage, specify it in yourCartfile:
github "jwd-ali/JProgressView"If you prefer not to use a dependency manager, you can integrateJProgressView into your project manually.
Add sources into your project:
- Drag
ProgressView.swiftandCALayer+Extension.swift
- Drag
If you are using any dependency manager (pods , carthage , package manager)to integrate JProgressView. Import ProgressView first:
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
varprogessView=ProgressView()
OR
varprogessView=ProgressView(colors:[.black,.red,.green,.yellow])
Then in which view you want to show progress call
progessView.StartAnimating(in:self.view)
To stop and hide call
progessView.stopAnimating()
For better understanding framework includes example project as well
Congratulations! You're done.
I’d love to have help on this project. For small changes pleaseopen a pull request, for larger changes pleaseopen an issue first to discuss what you’d like to see.
About
Add Progress Animation in just 2 steps in your view developed using CAShapelayer and UIBezierPath drawing with CABasicAnimation.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.


