摘要:
//// CCNSArray.h// CCFC//// Created by xichen on 11-12-17.// Copyright 2011年 ccteam. All rights reserved.//#import <Foundation/Foundation.h>@interface NSArray(cc)// 判断一个对象指针(不是对象的值)是否在数组中存在- (BOOL)isPointerExistsInArray:(id)element;// print the retainCount of each element- (void)printRetainCou 阅读全文
摘要:
//// CCMemory.m// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import "CCMemory.h"@implementation CCMemory// get the info of memory+ (BOOL)getMemoryInfo:(vm_statistics_data_t *)vmStats{ mach_msg_type_number_t infoCount = HOST_VM_INFO_COUNT; ... 阅读全文
摘要:
//// CCMemory.h// CCFC//// Created by xichen on 11-12-23.// Copyright 2011 ccteam. All rights reserved.//#import <Foundation/Foundation.h>#import <mach/mach.h>@interface CCMemory : NSObject {}// get the info of memory+ (BOOL)getMemoryInfo:(vm_statistics_data_t *)vmStats;@end可能有更新: google 阅读全文
摘要:
//// CCMapAnnotation.m// CCFC//// Created by xichen on 11-12-30.// Copyright 2011 ccteam. All rights reserved.//#import "CCMapAnnotation.h"#import "CCCommon.h"@implementation CCMapAnnotation@synthesize title = _title;@synthesize subtitle = _subtitle;@synthesize coordinate = _cord 阅读全文