摘要:
// // 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... 阅读全文
摘要:
// // CCBaseTipView.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011 ccteam. All rights reserved. // #ifndef CC_BASE_TIP_VIEW_H #define CC_BASE_TIP_VIEW_H #import <UIKit/UIKit.h> typedef enum { UI_APPEAR_STYLE_UP_TO_DOWN, UI_APPEAR_STYLE_DOWN_TO_UP, ... 阅读全文
摘要:
// // CCAutoDisappearView.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011 ccteam. All rights reserved. // #import "CCAutoDisappearView.h" @implementation CCAutoDisappearView @synthesize tm = _tm; @synthesize superView = _superView; @synthesize msgLbl = _msgLbl; ... 阅读全文
摘要:
// // CCAutoDisappearView.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011 ccteam. All rights reserved. // #import <UIKit/UIKit.h> // a kind of view that can disappear automatically @interface CCAutoDisappearView : UIView { UILabel *_msgLbl; double ... 阅读全文
摘要:
// // CCAudio.mm // CCFC // // Created by xichen on 11-12-18. // Copyright 2011 ccteam. All rights reserved. // #import "CCAudio.h" #import <AudioToolbox/AudioToolbox.h> @implementation CCAudio + (int)playSound:(NSString *)soundFullPath { SystemSoundID soundId; NSURL *f... 阅读全文
摘要:
// // CCAudio.h // CCFC // // Created by xichen on 11-12-18. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import <AudioToolbox/AudioToolbox.h> @interface CCAudio : NSObject { } + (int)playSound:(NSString *)soundFullPath; + (void)playSy... 阅读全文