MJCircleCounter

Circle Time Counter


License
MIT
Install
pod try MJCircleCounter

Documentation

MJCircleCounter is a simple time Counter.

MJCircleCounter

MJCircleCounter

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "MJCircleCounter"

Then, simply place this line in any file that uses MJCircleCounter.

#import <MJCircleCounter.h>

MJCircleCounter works on iOS 6.0 and up.

Usage

Example usage: *.h

#import "MJCircleCounter.h"

@interface MJCircleCounterViewController : UIViewController <MJCircleCounterDelegate>

@property (retain, nonatomic) IBOutlet MJCircleCounter *circleCounter;
@property (retain) IBOutlet UILabel *lbl_second;

Example usage: *.m

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    _circleCounter.delegate = self;
    _circleCounter.timerLabel = _lbl_second;

    [self.circleCounter startWithSeconds:60 remainTime:0];

}

Author

minjoongkim, kmj6773@gmail.com

License

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