摘要: //// 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 阅读(170) 评论(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 阅读(257) 评论(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 阅读(163) 评论(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 阅读(114) 评论(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 阅读(192) 评论(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 阅读(247) 评论(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 阅读(135) 评论(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 阅读(242) 评论(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 阅读(175) 评论(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 阅读(183) 评论(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 阅读(124) 评论(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 阅读(220) 评论(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 阅读(204) 评论(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 阅读(243) 评论(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 阅读(228) 评论(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 阅读(199) 评论(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 阅读(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) 编辑