// // 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)printRetainCountOfEach; // deep copy, you should release the return value outside // not ok - (NSMutableArray *)deepCopy; // print all the element's address - (void)printAllElementAddr; @end @interface NSMutableArray(cc) // add a null element - (void)addNull; @end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSArray.h
github地址:https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCNSArray.h