上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要: //// CCRandom.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCRandom : NSObject {}+ (long)generateRandomNum;+ (NSString *)generateRandomStringByLen:(int)len;@end可能有更新:googlecode链接地址:http://code.google.com/ 阅读全文
posted @ 2012-01-03 14:04 cc_team 阅读(122) 评论(0) 推荐(0) 编辑
摘要: //// CCRadix.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 __MyCompanyName__. All rights reserved.//#include "CCRadix.h"@implementation CCRadix+ (NSString *)get2RadixStr:(unsigned)n{ return [self getRadixStr:n withRadix:2];}+ (NSString *)get8RadixStr:(unsigned)n{ return... 阅读全文
posted @ 2012-01-03 14:03 cc_team 阅读(205) 评论(0) 推荐(0) 编辑
摘要: //// CCRadix.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 __MyCompanyName__. All rights reserved.//#ifndef CC_RADIX_H#define CC_RADIX_Htypedef char SMALL_INT;#ifdef __OBJC__// it used for radix operation@interface CCRadix : NSObject {}+ (NSString *)get2RadixStr:(unsigned)n;+ (NS... 阅读全文
posted @ 2012-01-03 14:02 cc_team 阅读(190) 评论(0) 推荐(0) 编辑
摘要: //// CCPoint.m// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import "CCPoint.h"#import "CCCommon.h"#import "CCNSNumber.h"@implementation CCPoint- (id)initWithX:(CGFloat)aX withY:(CGFloat)aY{ COMMON_INIT_BEGIN x = aX; y = a... 阅读全文
posted @ 2012-01-03 14:00 cc_team 阅读(215) 评论(0) 推荐(0) 编辑
摘要: //// CCPoint.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCPoint : NSObject{@public CGFloat x; CGFloat y;}- (id)initWithX:(CGFloat)x withY:(CGFloat)y;+ (id)pointWithX:(CGFloat)aX withY:(CGFl... 阅读全文
posted @ 2012-01-03 13:59 cc_team 阅读(167) 评论(0) 推荐(0) 编辑
摘要: //// CCPlistFileWritter.m// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import "CCPlistFileWritter.h"@implementation CCPlistFileWritter- (void)initWritterObjOnce{ if(_writterObj == nil) { _writterObj = [[NSMutableDictionary... 阅读全文
posted @ 2012-01-02 15:49 cc_team 阅读(184) 评论(0) 推荐(0) 编辑
摘要: //// CCPlistFileWritter.h// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import "CCPlistFileReader.h"@interface CCPlistFileWritter : CCPlistFileReader{ id _writterObj;}// for NSDictionary- (void)remov... 阅读全文
posted @ 2012-01-02 15:47 cc_team 阅读(193) 评论(0) 推荐(0) 编辑
摘要: //// CCPlistFileReader.m// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import "CCPlistFileReader.h"#import "CCFileUtil.h"@implementation CCPlistFileReader+ (NSArray *)readBundleFileToNSArray:(NSString *)fileName{ NSString *fileFullPath 阅读全文
posted @ 2012-01-02 15:46 cc_team 阅读(196) 评论(0) 推荐(0) 编辑
摘要: //// CCPlistFileReader.h// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>// just for plist file that is NSArray type or NSDictionary type@interface CCPlistFileReader : NSObject { id _inte... 阅读全文
posted @ 2012-01-02 15:45 cc_team 阅读(181) 评论(0) 推荐(0) 编辑
摘要: //// CCPlayer.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import "CCPlayer.h"@implementation CCPlayer// 调用系统播放器播放资源界面+ (MPMediaPickerController *)showIpodPlayResourceView:(id)delegate mediaType:(MPMediaTy... 阅读全文
posted @ 2012-01-02 15:44 cc_team 阅读(225) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页