摘要:
//// 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. 阅读全文
摘要:
//// 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... 阅读全文
摘要:
//// 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 阅读全文
摘要:
//// 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) {... 阅读全文
摘要:
//// 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 阅读全文
摘要:
//// 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];}// 阅读全文
摘要:
//// 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... 阅读全文
摘要:
//// 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 阅读全文
摘要:
//// 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... 阅读全文
摘要:
//// 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... 阅读全文