Simple Count Manager
pod 'CounterAgent'
@interface CounterAgent : NSObject
#pragma mark - count
- (NSUInteger)countOfCurrentVersion;
#pragma mark - count up
+ (void)countUp;
- (void)countUp;
#pragma mark - fire event
- (void)runObserver:(id) observer selector:(SEL) selector whenCount:(NSUInteger) count;
#pragma mark - reset
- (void)resetCount;
@end
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT