// // CCFuntion.m // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import "CCFuntion.h" @implementation CCFuntion // returns whether the function exists or not + (BOOL)isFuntionExist:(IMP)funcPtr { return funcPtr != NULL; } @end
googlecode链接地址(会有更新):http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCFunction.m
github地址:https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCFunction.m