iphone-common-codes-ccteam源代码 CCNSTimer.h

//
// CCNSTimer.h
// CCFC
//
// Created by xichen on 11-12-28.
// Copyright 2011 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>




@interface NSTimer(cc)


// create a common timer
+ (NSTimer *)createCommonTimer:(id)target sel:(SEL)sel timeInterval:(NSTimeInterval)interval;


// create a common repeatable timer
+ (NSTimer *)createCommonRepeatTimer:(id)target sel:(SEL)sel timeInterval:(NSTimeInterval)interval;


// safe invalidate
- (void)safeInvalidate;


@end

 

可能有更新:

 googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSTimer.h

 github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCNSTimer.h

 

你可能感兴趣的:(iPhone)