Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

igorkislyuk/ikprogressview

Repository files navigation

IKProgressView

CIStatus Version License Platform Carthage compatible

Example

To run the example project, clone the repo, and run iOS-Example project.

Requirements

iOS 8.0 and higher

Installation

  • It is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "IKProgressView"
github 'igorkislyuk/ikprogressview'
  • You can simply drag'n'drop IKProgressView.swift in you project

Example

Features

  • Cool radial animated progress view.

  • Use setProgress(XXX, animated: YYY, ZZZ) - method for setting progress animated or not. Completion is required due to animation performs with redraw whole progress view. XXX - float of progress, YYY - Bool value, ZZZ - required completion Note: if you know how to implement this stuff using CoreAnimation, or high-level API, feel free to contact me.

  • filledView - mean that progress view will use whole view, measure it sizes itself

  • interiorR & exteriorR - radiuses for progress view. Note: only usable within turn off-ed filledView

  • animated - static view, or active redrawing with gradient animation.

There are some inner setting, you can play with.

Docs

See docs folder for exhaustive documentation

Author

Igor Kislyuk, igorkislyuk@icloud.com

License

IKProgressView is available under the MIT license. See the LICENSE file for more info.