ios CCFuntion.m

objectivec 复制代码
//
//  CCFuntion.h
//  CCFC
//
//  Created by xichen on 11-12-30.
//  Copyright 2011 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>




@interface CCFuntion : NSObject 
{


}


// returns whether the function exists or not
+ (BOOL)isFuntionExist:(IMP)funcPtr;




@end
cpp 复制代码
//
//  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

微风不燥,阳光正好,你就像风一样经过这里,愿你停留的片刻温暖舒心。

我是程序员小迷(致力于C、C++、Java、Kotlin、Android、Shell、JavaScript、TypeScript、Python等编程技术的技巧经验分享),若作品对您有帮助,请关注、分享、点赞、收藏、在看、喜欢,您的支持是我们为您提供帮助的最大动力。

欢迎关注。助您在编程路上越走越好!

相关推荐
zx132312 分钟前
chrome提示https不安全, 不能记住账号密码怎么办? 可以利用js输入账号
开发语言·javascript·ecmascript
键盘敲没电17 分钟前
【iOS】UIPageViewController学习
学习·ios·cocoa
巴巴_羊35 分钟前
React Redux
开发语言·前端·javascript
菜鸡且互啄6940 分钟前
sql 向Java的映射
java·开发语言
season_zhu1 小时前
iOS开发:关于导航控制器
ios·架构·swift
异次元客1 小时前
使用 Metal 绘制视图的内容
ios·mac
waterHBO1 小时前
python 微博爬虫 01
开发语言·爬虫·python
刚入坑的新人编程1 小时前
C++STL——容器-list(含模拟实现,即底层原理)(含迭代器失效问题)(所有你不理解的问题,这里都有解答,最详细)
开发语言·c++·链表·list
程序猿John1 小时前
单双线程的理解 和 lua基础语法
开发语言·lua
星空露珠2 小时前
迷你世界脚本之容器接口:WorldContainer
开发语言·数据结构·数据库·游戏·lua