摘要: //// CCEncoding.m// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import "CCEncoding.h"@implementation CCEncoding// log all encodings+ (void)logAllEncodings{ const NSStringEncoding *encodings = [NSString availableStringEncodings]; NSMutable... 阅读全文
posted @ 2011-12-31 09:41 cc_team 阅读(245) 评论(0) 推荐(0) 编辑
摘要: //// CCFile.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#include <stdio.h>// a file class that processes c file funcs like fopen, fread, fwrite, ftell, fclose and so on@interface CCFile : NSObject {@private F 阅读全文
posted @ 2011-12-31 09:41 cc_team 阅读(146) 评论(0) 推荐(0) 编辑
摘要: //// CCEncoding.h// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>// "陈曦" 的unicode编码为: // 0x48 0x96 0xE6 0x66 // UTF8编码为:// 0xE9 0x99 0x88 0xE6 0x9B 0xA6 // GB18030编码为:// 0xB3 0xC2 0x... 阅读全文
posted @ 2011-12-31 09:40 cc_team 阅读(193) 评论(0) 推荐(0) 编辑
摘要: //// CCEmoji.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCEmoji.h"#import "CCUITextView.h"@implementation CCEmoji// returns a textView that contains nearly all the emojis+ (UITextView *)returnAllEmojiTextView{ NSMutableStri 阅读全文
posted @ 2011-12-31 09:38 cc_team 阅读(235) 评论(0) 推荐(0) 编辑
摘要: //// CCEmoji.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCEmoji : NSObject {}// returns a textView that contains nearly all the emojis+ (UITextView *)returnAllEmojiTextView;@endgooglecode链接地址(会有更新): htt 阅读全文
posted @ 2011-12-31 09:36 cc_team 阅读(246) 评论(0) 推荐(1) 编辑
摘要: //// CCDylib.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCDylib.h"#import "CCNSString.h"#import "CCCommon.h"#import <dlfcn.h>@implementation CCDylib+ (void *)open:(NSString *)dylibFileFullPath{ return dlopen 阅读全文
posted @ 2011-12-30 11:18 cc_team 阅读(202) 评论(0) 推荐(1) 编辑
摘要: //// CCDylib.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#define MOBILE_SUBSTRATE_PATH @"/Library/MobileSubstrate/DynamicLibraries/"typedef void (*voidVoidFunc)();typedef int ... 阅读全文
posted @ 2011-12-30 11:17 cc_team 阅读(170) 评论(0) 推荐(0) 编辑
摘要: //// CCDepend.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCDepend.h"@implementation CCDepend@endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCDepend.m 阅读全文
posted @ 2011-12-30 11:16 cc_team 阅读(124) 评论(0) 推荐(0) 编辑
摘要: //// CCDepend.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>// depended on CoreTelephony framework#ifndef _Depended_On_CoreTelephony_#define _Depended_On_CoreTelephony_#endif// // depended on UIKit framework#ifndef . 阅读全文
posted @ 2011-12-30 11:15 cc_team 阅读(148) 评论(0) 推荐(0) 编辑
摘要: //// CCDelete.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#define RELEASE(obj) [obj release]#define SAFE_RELEASE(obj) \ { \ RELEASE(obj); \ (obj) = nil; ... 阅读全文
posted @ 2011-12-30 11:14 cc_team 阅读(139) 评论(0) 推荐(0) 编辑