MJCircleCounter is a simple time Counter.
To run the example project, clone the repo, and run pod install
from the Example directory first.
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.
###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];
}
minjoongkim, [email protected]
MJCircleCounter is available under the MIT license. See the LICENSE file for more info.