TKSectorProgressView 1.3.0

TKSectorProgressView 1.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by TBXark.



  • By
  • USER_NAME

TKSectorProgressView

An simple animation sector progress view

Requirements

  • iOS 8.0+
  • Xcode 8.0
  • Swift 3.0

Installation

Manually

  1. Download and drop TKSectorProgressView.swift in your project.
  2. Congratulations!

Usage example

import TKSectorProgressView


let progress = TKSectorProgressView(frame: CGRect(x: 0, y: 0, width: 200, height: 200))

progress.configure.borderColor = UIColor(red:0.862,  green:0.272,  blue:0.282, alpha:1)
progress.configure.fillColor = UIColor.whiteColor()
progress.configure.sectorColor = UIColor(red:1,  green:0.493,  blue:0.474, alpha:1)
progress.configure.borderWidth = 5
progress.configure.innerInset =  5
progress.animateDuration = 2
progress.progress = 0.2

progress.setProgress(1, animate: true)

Release History

  • 1.3.0 Support swift 3.0

  • 1.0 Complete basic functions, add Cocoapod support

Contribute

We would love for you to contribute to TKSectorProgressView, check the LICENSE file for more info.

Meta

TBXark – @vfanx[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/TBXark