上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: //// CCNSURL.h// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface NSURL(cc)+ (NSString *)telephonePrefix;+ (NSString *)smsPrefix;+ (NSString *)mailPrefix;+ (NSString *)googleMapPrefix;@end可能有更新:googlecode链接地址:htt 阅读全文
posted @ 2012-01-02 15:31 cc_team 阅读(142) 评论(0) 推荐(0) 编辑
摘要: //// CCNSTimer.m// CCFC//// Created by xichen on 11-12-28.// Copyright 2011 ccteam. All rights reserved.//#import "CCNSTimer.h"@implementation NSTimer(cc)// create a common timer+ (NSTimer *)createCommonTimer:(id)target sel:(SEL)sel timeInterval:(NSTimeInterval)interval{ return [NSTimer s. 阅读全文
posted @ 2012-01-02 15:30 cc_team 阅读(162) 评论(0) 推荐(0) 编辑
摘要: //// 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 comm 阅读全文
posted @ 2012-01-02 15:29 cc_team 阅读(127) 评论(0) 推荐(0) 编辑
摘要: //// CCNSTimeZone.m// CCFC//// Created by xichen on 11-12-24.// Copyright 2011 ccteam. All rights reserved.//#import "CCNSTimeZone.h"#import "CCLog.h"@implementation NSTimeZone(cc)+ (void)setTimeZone:(NSString *)zoneStr{ NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:zoneStr 阅读全文
posted @ 2012-01-02 15:27 cc_team 阅读(149) 评论(0) 推荐(0) 编辑
摘要: //// CCNSTimeZone.h// CCFC//// Created by xichen on 11-12-24.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface NSTimeZone(cc)+ (void)setTimeZone:(NSString *)zoneStr;@end可能有更新:googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/bro 阅读全文
posted @ 2012-01-02 15:26 cc_team 阅读(132) 评论(0) 推荐(0) 编辑
摘要: //// CCNSThread.m// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import "CCNSThread.h"@implementation CCNSThread@end可能有更新:googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSThread.mgithub地址: http 阅读全文
posted @ 2012-01-01 14:29 cc_team 阅读(119) 评论(0) 推荐(0) 编辑
摘要: //// CCNSThread.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#define SLEEP(seconds) [NSThread sleepForTimeInterval:(seconds)]// 委托主线程执行#define PERFORM_ON_MAIN_THREAD(obj, func, withObj, isWaitUntilDone) \ ... 阅读全文
posted @ 2012-01-01 14:28 cc_team 阅读(143) 评论(0) 推荐(0) 编辑
摘要: //// CCNSString.m// CCFC_IPHONE//// Created by xuchen(陈旭), xichen(陈曦), qq:511272827 on 10-11-15.// Copyright 2010 cc_team. All rights reserved.// #include <wchar.h>#ifdef __OBJC__#import "CCNSString.h"#import "CCLog.h"@implementation NSString(cc)// 获取字符在字符串第一次出现的位置- (NSInte 阅读全文
posted @ 2012-01-01 14:27 cc_team 阅读(248) 评论(0) 推荐(0) 编辑
摘要: //// CCNSString.h// CCFC_IPHONE//// Created by xuchen(陈旭), xichen(陈曦), qq:511272827 on 10-11-15.// Copyright 2010 cc_team. All rights reserved.//#ifndef CC_NSSTRING#define CC_NSSTRING#ifdef __OBJC__#import <Foundation/Foundation.h>#define PASCAL_STR %.*s#de... 阅读全文
posted @ 2012-01-01 14:25 cc_team 阅读(246) 评论(0) 推荐(0) 编辑
摘要: //// CCNSRegularExpression.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCNSRegularExpression.h"@implementation NSRegularExpression(cc)// get the common result array with pattern in the string: str;// returns the array of "NSTextC 阅读全文
posted @ 2012-01-01 14:24 cc_team 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页