methodSignatureForSelector 和 invocationWithMethodSignature
![](https://img.haomeiwen.com/i696995/5ab63fc7c67df80d.png)
<hr />
![](https://img.haomeiwen.com/i696995/afa5e02c8d2895a3.png)
@encode
为了更好的互操作性,Objective-C 的数据类型,甚至自定义类型、函数或方法的元类型,都可以使用 ASCII 编码。
@encode(aType) 可以返回该类型的 C 字符串(char *)的表示
methodSignatureForSelector 和 invocationWithMethodSignature
<hr />
@encode
为了更好的互操作性,Objective-C 的数据类型,甚至自定义类型、函数或方法的元类型,都可以使用 ASCII 编码。
@encode(aType) 可以返回该类型的 C 字符串(char *)的表示
本文标题:YYKit学习笔记
本文链接:https://www.haomeiwen.com/subject/ybmjhttx.html
网友评论