Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Progress Animation in just 2 steps in your view developed using CAShapelayer and UIBezierPath drawing with CABasicAnimation.

License

NotificationsYou must be signed in to change notification settings

jwd-ali/JProgressView

Repository files navigation

JProgressView

Add Progress Animation in just 2 steps in your view

CI StatusCocoaPods VersionCarthage CompatibleLicensePlatformSwift 5.1




Requirements

  • iOS 10.0+ / Mac OS X 10.9+ / watchOS 2.0+ / tvOS 9.0+
  • Xcode 8.0+

Installation

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"

Manually

If you prefer not to use a dependency manager, you can integrateJProgressView into your project manually.

  • Add sources into your project:

    • DragProgressView.swift andCALayer+Extension.swift

    Usage

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.

Contributing

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.

License

JProgressView is underMIT. SeeLICENSE file for more info.

About

Add Progress Animation in just 2 steps in your view developed using CAShapelayer and UIBezierPath drawing with CABasicAnimation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp