摘要:
//// CCDylib.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCDylib.h"#import "CCNSString.h"#import "CCCommon.h"#import <dlfcn.h>@implementation CCDylib+ (void *)open:(NSString *)dylibFileFullPath{ return dlopen 阅读全文
摘要:
//// CCDylib.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#define MOBILE_SUBSTRATE_PATH @"/Library/MobileSubstrate/DynamicLibraries/"typedef void (*voidVoidFunc)();typedef int ... 阅读全文
摘要:
//// CCDepend.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCDepend.h"@implementation CCDepend@endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCDepend.m 阅读全文
摘要:
//// CCDepend.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>// depended on CoreTelephony framework#ifndef _Depended_On_CoreTelephony_#define _Depended_On_CoreTelephony_#endif// // depended on UIKit framework#ifndef . 阅读全文
摘要:
//// CCDelete.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#define RELEASE(obj) [obj release]#define SAFE_RELEASE(obj) \ { \ RELEASE(obj); \ (obj) = nil; ... 阅读全文
摘要:
//// CCDelete.m// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import "CCDelete.h"@implementation CCDelete@endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCDelete.m 阅读全文
摘要:
//// CCFileUtil.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011 ccteam. All rights reserved.//#ifndef CC_DEBUG_H#define CC_DEBUG_H#ifdef __OBJC__#define RELEASE_VERSION __OPTIMIZE__#endif // __OBJC__#endif // CC_DEBUG_Hgooglecode链接地址(会有更新):http://code.google.com/p... 阅读全文
摘要:
//// CCContact.m// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import "CCContact.h"@implementation CCContact// 调用联系人界面+ (ABPeoplePickerNavigationController *) showAddressBookPeopleView:(id)delegate withId:(ABPropertyI... 阅读全文
摘要:
//// CCContact.h// CCFC//// Created by xichen on 11-12-16.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import <AddressBook/AddressBook.h>#import <AddressBookUI/AddressBookUI.h>@interface CCContact : NSObject { }// 调用联系人界面+ (ABPeoplePickerNaviga 阅读全文
摘要:
// // CCConfig.h // CCFC // // Created by xichen on 11-12-19. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> // for avoid or allow to compile codes that uses private api methods #ifndef CC_ENABLE_PRIVATE_API #define CC_ENABLE_PRIVATE_API 1 ... 阅读全文
摘要:
// // CCConfig.m // CCFC // // Created by xichen on 11-12-19. // Copyright 2011 ccteam. All rights reserved. // #import "CCConfig.h" @implementation CCConfig @endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCConfig.m 阅读全文
摘要:
// // CCCompile.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCCompile.h" @implementation CCCompile @endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCCompile.m 阅读全文
摘要:
// // CCCompile.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> // 是否进行编译并执行指定函数(默认函数为无参函数) #define COMPILE(compiledOrNot, funcPtr) \ if(compiledOrNot) \ { \ ... 阅读全文
摘要:
// // CCCommon.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #define DO_NOTHING #define XUCHEN #define XICHEN // 转变成字符串类型 #define TO_STR(var) #var // 数字转换成bool类型字符串 #define TO_BOOL_STR(intNu... 阅读全文
摘要:
// // CCCommon.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCCommon.h" @implementation CCCommon @endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCCommon.m 阅读全文
摘要:
// // CCCamera.m // CCFC // // Created by xichen on 11-12-29. // Copyright 2011 ccteam. All rights reserved. // #import "CCCamera.h" @implementation CCCamera @endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCCamera.m 阅读全文
摘要:
// // CCCALayer.m // CCFC // // Created by xichen on 11-12-24. // Copyright 2011 ccteam. All rights reserved. // #import "CCCALayer.h" @implementation CALayer(cc) + (void)addTestLayer:(UIView *)view withRect:(CGRect)rect { CALayer *layer = [[CALayer alloc] init]; layer.... 阅读全文
摘要:
// // CCCamera.h // CCFC // // Created by xichen on 11-12-29. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface CCCamera : NSObject { } @endgooglecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trun... 阅读全文
摘要:
// // CCCALayer.h // CCFC // // Created by xichen on 11-12-24. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import <QuartzCore/QuartzCore.h> @interface CALayer(cc) + (void)addTestLayer:(UIView *)view withRect:(CGRect)rect; - (void)... 阅读全文
摘要:
// // CCBaseTipView.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011 ccteam. All rights reserved. // #include "CCBaseTipView.h" @implementation CCBaseTipView @synthesize appearStyle = _appearStyle; @synthesize disappearStyle = _disappearStyle; @synthesize fa... 阅读全文