美文网首页
GCDMulticastDelegate void *

GCDMulticastDelegate void *

作者: 巴糖 | 来源:发表于2019-07-29 14:46 被阅读0次
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Argument 1 to method onMicDataByAEReady:data: - Type(^) not supported'

增加新类型支持

- (NSInvocation *)duplicateInvocation:(NSInvocation *)origInvocation
{
……
else if (*type == *@encode(void *))
        {
            void *value;
            [origInvocation getArgument:&value atIndex:i];
            [dupInvocation setArgument:&value atIndex:i];
        }
 else
……
}

相关文章

  • GCDMulticastDelegate void *

    增加新类型支持

  • Delegate - 高级用法之多播委托

    iOS多播Delegate类——GCDMulticastDelegate用法小结 iOS 多播委托(GCDMult...

  • void *(*)(void *)、void *(^)(void

  • iOS解耦方案

    解耦方案是针对AppDelegate,通过消息的转发、GCDMulticastDelegate代理的一对多模式来实...

  • void和void*

    总结: void的字面意思是“无类型”,void *则为“无类型指针”,void *可以指向任何类型的数据。 1...

  • void和void *

    一、void void的意思是“无类型”,相对于void *来说,使用的时候比较简单,一般只在两个地方使用: 当函...

  • void 和 void *

    一...void的含义void即“无类型”,void *则为“无类型指针”,可以指向任何数据类型。(1)void指...

  • void 和 void*

    void指针是什么? void指针一般被称为通用指针或泛指针,它是C关于“纯粹地址(raw address)”的一...

  • GCDMulticastDelegate使用(多播委托)

    前言 在iOS开发中我们回调经常使用delegete、blcok、通知等方式。delegete和blcok都是“一...

  • void 与void *(一)

    (一)Void的使用规则: 1.函数没有返回值,函数类型声明为void; 2.如果函数没有参...

网友评论

      本文标题:GCDMulticastDelegate void *

      本文链接:https://www.haomeiwen.com/subject/pjebrctx.html