摘要:
//// CCMapAnnotation.h// CCFC//// Created by xichen on 11-12-30.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import <MapKit/MKAnnotation.h>@interface CCMapAnnotation : NSObject<MKAnnotation> { NSString *_title; NSString *_subtitle; ... 阅读全文
posted @ 2011-12-31 10:08
cc_team
阅读(183)
评论(0)
推荐(0)
摘要:
//// CCMail.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import "CCMail.h"#import "CCNSPredicate.h"@implementation CCMail// 调用系统mail界面+ (MFMailComposeViewController *)showMailView:(id)delegate withRecipients:(NSArray *... 阅读全文
posted @ 2011-12-31 10:07
cc_team
阅读(273)
评论(0)
推荐(0)
摘要:
//// CCMail.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import <MessageUI/MFMailComposeViewController.h>@interface CCMail : NSObject { }// 调用系统mail界面+ (MFMailComposeViewController *)showMailView:(id)delegat 阅读全文
posted @ 2011-12-31 10:06
cc_team
阅读(175)
评论(0)
推荐(0)
摘要:
//// CCLog.m// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import "CCLog.h"@implementation CCLog+ (void)logDetail:(NSString *)str{ NSLog(@"filename: %s line: %d %@", __FILE__, __LINE__, (str));}@endgooglecode链接地址(会有更新):http://code.goog 阅读全文
posted @ 2011-12-31 10:05
cc_team
阅读(129)
评论(0)
推荐(0)
摘要:
//// CCLanguage.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import "CCLanguage.h"@implementation CCLanguage// 获取系统当前使用的本地化语言+ (NSString *)getSystemLanguage{ NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; NSArray *languages = [ 阅读全文
posted @ 2011-12-31 10:04
cc_team
阅读(267)
评论(0)
推荐(0)
摘要:
//// CCLog.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import "CCUIView.h"#import "CCCommon.h"#define C_LOG(cStr, ...) printf(cStr, ##__VA_ARGS__)#define C_LOG_ENDL(cStr, ...) print... 阅读全文
posted @ 2011-12-31 10:04
cc_team
阅读(203)
评论(0)
推荐(0)
摘要:
//// CCLanguage.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCLanguage : NSObject { }// 获取系统当前使用的本地化语言+ (NSString *)getSystemLanguage;// get all languages that the system supports+ (NSArray *)getAllLan. 阅读全文
posted @ 2011-12-31 10:03
cc_team
阅读(148)
评论(0)
推荐(0)
摘要:
//// CCKeyboard.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCKeyboard.h"@implementation CCKeyboard+ (UITextInputMode *)currentInputMode{ return [UITextInputMode currentInputMode];}+ (NSString *)primaryLanguage{ return [[UITex... 阅读全文
posted @ 2011-12-31 10:01
cc_team
阅读(263)
评论(0)
推荐(0)
摘要:
//// CCKeyboard.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import "CCCommon.h"#import "CCConfig.h"#import "CCDepend.h"#if CC_ENABLE_PRIVATE_API// the extern func prototype which are 阅读全文
posted @ 2011-12-31 10:00
cc_team
阅读(198)
评论(0)
推荐(0)
摘要:
//// CCInfoPlistFileReader.m// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import "CCInfoPlistFileReader.h"static id InfoPlistObj;@implementation CCInfoPlistFileReader// not thread safe+ (id)sharedInstance{ if(InfoPlistObj == nil) {... 阅读全文
posted @ 2011-12-31 09:59
cc_team
阅读(208)
评论(0)
推荐(0)
摘要:
//// CCInfoPlistFileReader.h// CCFC//// Created by xichen on 11-12-18.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import "CCPlistFileReader.h"@interface CCInfoPlistFileReader : CCPlistFileReader{}// not thread safe+ (id)sharedInstance;+ (void)rel 阅读全文
posted @ 2011-12-31 09:58
cc_team
阅读(144)
评论(0)
推荐(0)
摘要:
//// CCIOS.m// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import "CCIOS.h"#import "CCNSString.h"#import "CCUIDevice.h"@implementation CCIOS//获取OS版本+ (NSString *)osVersion { return [[UIDevice currentDevice] systemVersion];}// 阅读全文
posted @ 2011-12-31 09:57
cc_team
阅读(234)
评论(0)
推荐(0)
摘要:
//// CCIOS.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#define IOS_ROOT_DEFAULT_PASSWORD @"alpine"@interface CCIOS : NSObject { }//获取OS版本+ (NSString *)osVersion;// 获取OS主版本号+ (NSString *)osMa... 阅读全文
posted @ 2011-12-31 09:56
cc_team
阅读(216)
评论(0)
推荐(0)
摘要:
//// CCHttp.m// CCFC//// Created by xichen on 11-12-21.// Copyright 2011 ccteam. All rights reserved.//#import "CCHttp.h"#import <Foundation/NSURLRequest.h>#import <Foundation/NSURLResponse.h>@implementation CCHttp// send a synchronous GET request for a url, returns the recieve 阅读全文
posted @ 2011-12-31 09:55
cc_team
阅读(257)
评论(0)
推荐(0)
摘要:
//// CCHttp.h// CCFC//// Created by xichen on 11-12-21.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface CCHttp : NSObject { }// send a common synchronous GET request for a url, returns the recieved data+ (NSData *)sendSynchronousGETRequest:(NSStr... 阅读全文
posted @ 2011-12-31 09:54
cc_team
阅读(250)
评论(0)
推荐(0)
摘要:
//// CCGraphics.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import "CCGraphics.h"@implementation CCGraphics// 画弧形+ (void)drawArc:(CGContextRef)ctx radius:(CGFloat)radius x:(CGFloat)x y:(CGFloat)y startAr... 阅读全文
posted @ 2011-12-31 09:53
cc_team
阅读(214)
评论(0)
推荐(0)
摘要:
//// 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
阅读(253)
评论(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
阅读(134)
评论(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
阅读(131)
评论(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
阅读(117)
评论(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
阅读(159)
评论(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
阅读(298)
评论(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
阅读(219)
评论(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
阅读(241)
评论(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
阅读(138)
评论(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
阅读(195)
评论(0)
推荐(0)
摘要:
//// 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
阅读(284)
评论(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
阅读(156)
评论(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
阅读(217)
评论(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
阅读(256)
评论(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
阅读(259)
评论(0)
推荐(1)

浙公网安备 33010602011771号