摘要:
// // CCTime.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import "CCTime.h" @implementation CCTime @end可能有更新:googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCTime.m git... 阅读全文
摘要:
// // CCUIActionSheet.h // CCFC // // Created by xichen on 11-12-23. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UIActionSheet(cc) // create a common actionsheet + (UIActionSheet *)createCommonActionsheet:(NSString *)aTit... 阅读全文
摘要:
// // CCTime.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #define IS_LEAP_YEAR(year) ((year) % 4 == 0 && (year) % 100 != 0 \ || (year) % 400 == 0) #define DAY... 阅读全文
摘要:
// // CCTestMacros.h // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // // test file should include this file for compiling right codes! #import <Foundation/Foundation.h> #ifndef CC_ENABLE_TEST_GOOGLE_MAP #define CC_ENABLE_TES... 阅读全文
摘要:
// // CCTestMacros.m // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import "CCTestMacros.h" @implementation CCTestMacros @end 可能有更新:googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/... 阅读全文
摘要:
// // CCTableTipView.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011 ccteam. All rights reserved. // #import "CCTableTipView.h" #import <QuartzCore/QuartzCore.h> @implementation CCTableTipView @dynamic delegate; - (id)initWithFrame:(CGRect)frame withTabl... 阅读全文
摘要:
// // CCTableTipView.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011 ccteam. All rights reserved. // #import <UIKit/UIKit.h> #import "CCBaseTipView.h" // a kind of CCBaseTipView that owns a tableView // for linking, you should add QuartzCore.framewrok @interface... 阅读全文
摘要:
// // System.h // PhoneManager // // Created by chenxu on 11-9-9. // Copyright 2011年 __MyComPanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import <mach/mach.h> #include <ifaddrs.h> #include <sys/socket.h> #include <net/ 阅读全文
摘要:
// // System.m // PhoneManager // // Created by chenxu on 11-9-9. // Copyright 2011年 __MyComPanyName__. All rights reserved. // #import "CCSystem.h" #import "ifaddrs.h" #import "arpa/inet.h" #import <SystemConfiguration/SCSchemaDefinitions.h> #import <sys/sysct 阅读全文
摘要:
// // CCSqlite3.m // CCFC // // Created by xichen on 11-12-18. // Copyright 2011 ccteam. All rights reserved. // #import "CCSqlite3.h" @implementation CCSqlite3 @synthesize delegate = _delegate; @synthesize statement = _statement; - (id)initWithSqliteDBFullPath:(NSSt... 阅读全文
摘要:
// // CCSqlite3.h // CCFC // // Created by xichen on 11-12-18. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import <sqlite3.h> @class CCSqlite3; @protocol CCSqlite3Delegate // the row starts with 1. - (void)onCCSqlite3AnotherR... 阅读全文
摘要:
// // CCSound.h // CCFC // // Created by xichen on 12-1-3. // Copyright 2012 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface CCSound : NSObject { } // add a volume changed observer event // the selector will be only called when the ipod... 阅读全文
摘要:
// // CCSound.m // CCFC // // Created by xichen on 12-1-3. // Copyright 2012 ccteam. All rights reserved. // #import "CCSound.h" #import <MediaPlayer/MediaPlayer.h> @implementation CCSound // add a volume changed observer event // the selector will be only called when th... 阅读全文
摘要:
// // CCSize.m // CCFC // // Created by xichen on 11-12-28. // Copyright 2011 ccteam. All rights reserved. // #import "CCSize.h" #import "CCCommon.h" #import "CCNSNumber.h" @implementation CCSize - (id)initWithWidth:(CGFloat)aWidth withHeight:(CGFloat)aHeight { ... 阅读全文
摘要:
// // CCSize.h // CCFC // // Created by xichen on 11-12-28. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface CCSize : NSObject { @public CGFloat width; CGFloat height; } - (id)initWithWidth:(CGFloat)width ... 阅读全文
摘要:
// // CCSMS.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import "CCSMS.h" #if CC_ENABLE_PRIVATE_API NSString* const SIMStatusReady = @"kCTSIMSupportSIMStatusReady"; // SIM card is ok NSString* const SIMStatusNotIns... 阅读全文
摘要:
// // CCSMS.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import <MessageUI/MessageUI.h> #import "CCConfig.h" #import "CCDepend.h" #import "CCCommon.h" #if CC_ENABLE_PRIVA 阅读全文
摘要:
// // CCRuntime.m // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import "CCRuntime.h" @implementation CCRuntime // get the var of the obj + (Ivar)getObjVar:(id)obj varname:(const char *)varname ret:(void **)ret { ... 阅读全文