摘要: // // CCUIFont.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIFont.h" #import "CCLog.h" @implementation UIFont(cc) + (void)logAllFonts { NSArray *familyNames = [UIFont familyNames]; LOG_ARR(fam... 阅读全文
posted @ 2012-01-07 10:22 cc_team 阅读(156) 评论(0) 推荐(0) 编辑
摘要: // // CCUIHardware.h // CCFC // // Created by xichen on 11-12-23. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import "CCConfig.h" #if CC_ENABLE_PRIVATE_API && CC_COMPILE_PRIVATE_CLASS @interface UIHardware : NSObject { } @... 阅读全文
posted @ 2012-01-07 10:22 cc_team 阅读(161) 评论(0) 推荐(0) 编辑
摘要: // // CCUIFont.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> // 创建字体对象 #define CREATE_FONT(fontSize) [UIFont systemFontOfSize:(fontSize)] @interface UIFont(cc) + (void)logAllFonts; ... 阅读全文
posted @ 2012-01-07 10:21 cc_team 阅读(121) 评论(0) 推荐(0) 编辑
摘要: // // CCUIDevice.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import "CCConfig.h" #import <mach/mach.h> // 判断设备是480*320还是960*640 #define IS_RETINA \ ([UIScreen instancesRespondToSelector... 阅读全文
posted @ 2012-01-07 10:18 cc_team 阅读(190) 评论(0) 推荐(0) 编辑
摘要: // // CCUIDevice.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIDevice.h" #import "CCIOS.h" #import "CCFileUtil.h" #import <AudioToolbox/AudioToolbox.h> #import <ifaddrs.h> #import <arpa/inet 阅读全文
posted @ 2012-01-07 10:18 cc_team 阅读(204) 评论(0) 推荐(0) 编辑