摘要: //// CCGraphics.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import "CCUIScreen.h"#import "CCUIColor.h"#define CCCenterPoint CGPointMake(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2)@interface CCGraphic 阅读全文
posted @ 2011-12-31 09:52 cc_team 阅读(244) 评论(0) 推荐(0) 编辑
摘要: //// CCFuntion.m// CCFC//// Created by xichen on 11-12-30.// Copyright 2011 ccteam. All rights reserved.//#import "CCFuntion.h"@implementation CCFuntion// returns whether the function exists or not+ (BOOL)isFuntionExist:(IMP)funcPtr{ return funcPtr != NULL;}@endgooglecode链接地址(会有更新):http:/. 阅读全文
posted @ 2011-12-31 09:50 cc_team 阅读(119) 评论(0) 推荐(0) 编辑
摘要: //// CCFuntion.h// CCFC//// Created by xichen on 11-12-30.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCFuntion : NSObject {}// returns whether the function exists or not+ (BOOL)isFuntionExist:(IMP)funcPtr;@endgooglecode链接地址(会有更新):http://code.goo 阅读全文
posted @ 2011-12-31 09:49 cc_team 阅读(119) 评论(0) 推荐(0) 编辑
摘要: //// CCFoundation.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCFoundation.h"@implementation CCFoundation@endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCFoundation.m 阅读全文
posted @ 2011-12-31 09:48 cc_team 阅读(108) 评论(0) 推荐(0) 编辑
摘要: //// CCFoundation.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#ifndef CC_FOUNDATION_H#define CC_FOUNDATION_H#ifdef __OBJC__#import <Foundation/Foundation.h>#include "CCNSString.h"#include "CCNSObject.h"#include "CCNSThread 阅读全文
posted @ 2011-12-31 09:47 cc_team 阅读(148) 评论(0) 推荐(0) 编辑
摘要: //// CCFileUtil.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011 ccteam. All rights reserved.//#import "CCFileUtil.h"#import "CCRandom.h"@implementation CCFileUtil//获取应用程序的文档目录+ (NSString *)getDocFolder{ NSArray *userPaths = NSSearchPathForDirectoriesInDomains(NSDocum 阅读全文
posted @ 2011-12-31 09:46 cc_team 阅读(284) 评论(0) 推荐(0) 编辑
摘要: //// CCFileName.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCFileName.h"#import "CCCommon.h"#import "CCNSString.h"@implementation CCFileName@synthesize fileName = _fileName;- (id)initWithFileName:(NSString *)fileN 阅读全文
posted @ 2011-12-31 09:45 cc_team 阅读(203) 评论(0) 推荐(0) 编辑
摘要: //// CCFileUtil.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011 ccteam. All rights reserved.//#ifndef CC_FILE_UTIL_H#define CC_FILE_UTIL_H#ifdef __OBJC__#import <Foundation/Foundation.h>#import "CCNSString.h"//应用程序目录#define APP_DIR [[NSBundle mainBundle] bund... 阅读全文
posted @ 2011-12-31 09:45 cc_team 阅读(220) 评论(0) 推荐(0) 编辑
摘要: //// CCFileName.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCFileName : NSObject {@private NSString *_fileName;}@property(nonatomic, copy) NSString *fileN... 阅读全文
posted @ 2011-12-31 09:44 cc_team 阅读(132) 评论(0) 推荐(0) 编辑
摘要: //// CCFile.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCFile.h"#import "CCCommon.h"@implementation CCFile- (id)initWithFilePath:(NSString *)filePath withOpenOptions:(NSString *)options{ COMMON_INIT_BEGIN FILE *file =... 阅读全文
posted @ 2011-12-31 09:43 cc_team 阅读(178) 评论(0) 推荐(0) 编辑