Skip to content

mohsinalimat/MJCircleCounter

 
 

Repository files navigation

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, [email protected]

License

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

About

iOS Circle time Counter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 48.8%
  • Shell 46.4%
  • Ruby 4.8%