Latest 1.3.0
Homepage https://github.com/TBXark/TKSectorProgressView
License MIT License
Platforms ios 8.0, requires ARC
Authors

An simple animation sector progress view

Swift Version
License MIT
[CocoaPods](http://cocoapods.org/?q= TKSectorProgressView)
[CocoaPods](http://cocoapods.org/?q= TKSectorProgressView)
Carthage compatible
Support

Requirements

  • iOS 8.0+
  • Xcode 8.0
  • Swift 3.0

Installation

CocoaPods

You can use CocoaPods to install TKSectorProgressView by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
pod 'TKSectorProgressView'

To get the full benefits import TKSectorProgressView wherever you import UIKit

import UIKit
import TKSectorProgressView

Carthage

Create a Cartfile that lists the framework and run carthage update. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/TKSectorProgressView.framework to an iOS project.

github "tbxark/TKSectorProgressView"

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 – @tbxark[email protected]

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

https://github.com/TBXark

Latest podspec

{
    "name": "TKSectorProgressView",
    "version": "1.3.0",
    "summary": "An simple animation sector progress view",
    "homepage": "https://github.com/TBXark/TKSectorProgressView",
    "license": {
        "type": "MIT License",
        "file": "LICENSE"
    },
    "authors": {
        "USER_NAME": "E-MAIL"
    },
    "source": {
        "git": "https://github.com/TBXark/TKSectorProgressView.git",
        "tag": "1.3.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "TKSectorProgressView/TKSectorProgressView.swift",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This