转载自:http://blog.csdn.net/mr_yong/article/details/50379240
在编写iOS运行时代码时经常会用到type encodings 和method encodings,其实就是对变量类型和函数的返回类型进行字符串编码,很多朋友在看到这些编码字符串时会感到无从下手。今天从苹果文档上截了两张图,一张是变量类型编码,一张是函数返回类型编码,对照着表,以后就应该很清楚了。



转载自:http://blog.csdn.net/mr_yong/article/details/50379240
在编写iOS运行时代码时经常会用到type encodings 和method encodings,其实就是对变量类型和函数的返回类型进行字符串编码,很多朋友在看到这些编码字符串时会感到无从下手。今天从苹果文档上截了两张图,一张是变量类型编码,一张是函数返回类型编码,对照着表,以后就应该很清楚了。
本文标题:关于iOS中的type encodings 和method en
本文链接:https://www.haomeiwen.com/subject/yndsmttx.html
网友评论