Latest 0.0.3
Homepage https://github.com/jurre/JESCircularProgressView
License MIT
Platforms osx , requires ARC
Frameworks Quartz
Authors

A little circular progress view for OSX that looks like the one used in the App Store.

screenshot

Installing

Install it with the cocoapods:

pod "JESCircularProgressView"

Usage:

Add a JESCircularProgressView to your xib/code, and update its progress.


// YourAwesomeThing.h
#import "JESCircularProgressView.h"

...

@property (assign) IBOutlet JESCircularProgressView *circularProgressView;

// YourAwesomeThing.m

...

// And then you can be all like:
[self.circularProgressView setProgress:progress animated:YES];

// Or you could be like:
self.circularProgressView.progress = progress;
// But I made the whole animating thing so you might as well use it, right!?

Configuring things

There’s a few things you can configure:

/**
 *  The line width of the progress indicator.
 */
@property (nonatomic, assign) CGFloat progressLineWidth;

/**
 *  The line width of the outer circle.
 */
@property (nonatomic, assign) CGFloat outerLineWidth;

/**
 *  The duration of each animation.
 */
@property (nonatomic, assign) CGFloat animationDuration;

/**
 *  The color of the outer circle and progress line.
 */
@property (nonatomic, strong) NSColor *tintColor;

You can also configure these in Interface Builder.

Latest podspec

{
    "name": "JESCircularProgressView",
    "version": "0.0.3",
    "summary": "A little circular progressview for OSX that looks like the one used in the app store.",
    "homepage": "https://github.com/jurre/JESCircularProgressView",
    "screenshots": "https://raw.github.com/jurre/JESCircularProgressView/master/screenshots/progressview.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "jurre": "[email protected]"
    },
    "platforms": {
        "osx": null
    },
    "source": {
        "git": "https://github.com/jurre/JESCircularProgressView.git",
        "tag": "0.0.3"
    },
    "source_files": [
        "JESCircularProgressView/Classes",
        "JESCircularProgressView/Classes/**/*.{h,m}"
    ],
    "frameworks": "Quartz",
    "requires_arc": true
}

Pin It on Pinterest

Share This