Permalink
Browse files

Use the jcs_ prefix for functions

  • Loading branch information...
1 parent 4b3ebe4 commit 3a80e8039f67c4b3408b7e67434894e939d3cbc1 @Abizern committed Aug 26, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 NSTimer+JCSBlocks.h
  2. +1 −1 NSTimer+JCSBlocks.m
View
@@ -14,6 +14,6 @@ typedef void (^timerCallback_t)();
@interface NSTimer (JCSBlocks)
-+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)seconds repeats:(BOOL)repeats blockHandler:(timerCallback_t)block;
++ (NSTimer *)jcs_scheduledTimerWithTimeInterval:(NSTimeInterval)seconds repeats:(BOOL)repeats blockHandler:(timerCallback_t)block;
@end
View
@@ -16,7 +16,7 @@ + (void)handleBlockWithTimer:(NSTimer *)timer;
@implementation NSTimer (JCSBlocks)
-+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)seconds repeats:(BOOL)repeats blockHandler:(timerCallback_t)block {
++ (NSTimer *)jcs_scheduledTimerWithTimeInterval:(NSTimeInterval)seconds repeats:(BOOL)repeats blockHandler:(timerCallback_t)block {
return [self scheduledTimerWithTimeInterval:seconds target:self selector:@selector(handleBlockWithTimer:) userInfo:[[block copy] autorelease] repeats:repeats];
}

0 comments on commit 3a80e80

Please sign in to comment.