Latest 0.3.2
Homepage https://github.com/yimingtang/TYMProgressBarView
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, CoreGraphics
Authors

CI Status
Version
License
Platform

A progress bar which is similar to the one on iOS’s launching screen. All the drawing stuffs are implemented with Core Graphics in order to achieve high performance and feel comfortable for resizing.

TYMProgressBarView supports iOS 7.0 and later.

Screenshot

screenshot

Usage

// Create a progress bar view and set its appearance
TYMProgressBarView *progressBarView = [[TYMProgressBarView alloc] initWithFrame:aFrame];
progressBarView.barBorderWidth = 1.0;
progressBarView.barBorderColor = yourColor;

// Add it to your view
[yourView addSubview:progressBarView];

// Set the progress
progressBarView.progress = 0.2f;
progressBarView.progress = 0.5f;

You can also customize the appearance through the UIAppearance proxy. See TYMProgressBarView.h for full documentation.

Installation

Manually

Download the source files or add it as a git submodule. Add TYMProgressBarView.h and TYMProgressBarView.m to your project.

TYMProgressBarView uses Automatic Reference Counting (ARC). It also requires the Core Graphics framework.

CocoaPods

TYMProgressBarView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'TYMProgressBarView'

Thanks

The code is based on DDProgressView by Damien DeVille and SSPieProgressView by Sam Soffes.

LICENSE

TYMProgressBarView is available under the MIT license. See the LICENSE file for details.

Latest podspec

{
    "name": "TYMProgressBarView",
    "version": "0.3.2",
    "summary": "A flattened progress bar.",
    "homepage": "https://github.com/yimingtang/TYMProgressBarView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Yiming Tang": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/yimingtang/TYMProgressBarView.git",
        "tag": "v0.3.2"
    },
    "source_files": "TYMProgressBarView",
    "requires_arc": true,
    "frameworks": [
        "UIKit",
        "CoreGraphics"
    ]
}

Pin It on Pinterest

Share This