摘要: //// 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) 编辑