Skip to content

vaghasiya/ProgressKit

Repository files navigation

Image

Contents

Installation

##CocoaPods CocoaPods 0.36 adds supports for Swift and embedded frameworks.

To integrate ProgressKit into your Xcode project using CocoaPods, specify it in your Podfile:

use_frameworks!

pod 'ProgressKit'

Then, run the following command:

$ pod install

Usage

  • Drag a View at desired location in XIB or Storyboard
  • Change the Class to any of the desired progress Views
  • Set the size such that width and height are equal
  • Drag IBOutlet to View Controller
  • For Indeterminate Progress Views
    • Call view.startAnimation() and view.stopAnimation()
  • For Determinate Progress Views:
    • Set view.progress to value in 0...1

Indeterminate Progress

Indeterminate
Progress indicators which animate indefinately are Indeterminate Progress Views.

This are the InDeterminate Progress Indicators.

CircularSnail

CircularSnail

Crawler

Crawler

Spinner

Spinner

Determinate Progress

Determinate progress views can be used for tasks whos progress can be seen and determined gradually.

Circular Progress

Circular Progress

Progress Bar

Progress Bar

About

Progress Views for OSX

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 98.3%
  • Ruby 1.7%