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等编程技术的技巧经验分享),若作品对您有帮助,请关注、分享、点赞、收藏、在看、喜欢,您的支持是我们为您提供帮助的最大动力。

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

相关推荐
Digitally几秒前
如何在电脑上轻松访问 iPhone 文件
ios·电脑·iphone
安和昂6 分钟前
【iOS】YYModel源码解析
ios
pop_xiaoli19 分钟前
UI学习—cell的复用和自定义cell
学习·ui·ios
火兮明兮29 分钟前
Python训练第四十五天
开发语言·python
我爱Jack41 分钟前
ObjectMapper 在 Spring 统一响应处理中的作用详解
java·开发语言
小白杨树树1 小时前
【SSM】SpringMVC学习笔记8:拦截器
java·开发语言
冷心笑看丽美人1 小时前
Spring MVC 之 异常处理
java·开发语言·java-ee·spring mvc
超级小忍1 小时前
Java集合中Stream流的使用
java·开发语言
搏博1 小时前
将图形可视化工具的 Python 脚本打包为 Windows 应用程序
开发语言·windows·python·matplotlib·数据可视化
zm1 小时前
极限复习c++
开发语言·c++