文章列表
//
// 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.m
// CCFC
//
// Created by xichen on 11-12-17.
// Copyright 2011年 ccteam. All rights reserved.
//
#import "CCCommon.h"
@implementation CCCommon
@end
googlecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/sourc ...
//
// 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
// ...
//
// CCCamera.m
// CCFC
//
// Created by xichen on 11-12-29.
// Copyright 2011 ccteam. All rights reserved.
//
#import "CCCamera.h"
@implementation CCCamera
@end
googlecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccte ...
//
// CCCamera.h
// CCFC
//
// Created by xichen on 11-12-29.
// Copyright 2011 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CCCamera : NSObject
{
}
@end
googlecode链接地址(会有更新):http://code.google.com/p/iph ...
//
// 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 *la ...
//
// 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:(UIVie ...
//
// 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 disappearSt ...
//
// 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, ...
//
// 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 = _s ...
//
// 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
{
UILab ...
//
// 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
...
//
// 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)playSou ...
//
// CCAddressBook.m
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011年 ccteam. All rights reserved.
//
#import "CCAddressBook.h"
@implementation CCAddressBook
- (id)init
{
self = [super init];
if(self) ...
//
// CCAddressBook.h
// CCFC
//
// Created by xichen on 11-12-16.
// Copyright 2011年 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
@interface CCAddressBook : NSObject
{
NSA ...