How to decipher “objc_method_description” from protocol method description list?

余生颓废 提交于 2019-12-03 08:48:17
clearlight

What is returned objc_method_description.type field?

  • A method signature encoding scheme
  • ... which includes an obsolete stack offset representation

In other words, to get a usable method signature encoding from the type field, just just extract the alpha-symbolic characters in left-to-right order discarding the digits.

Supporting documentation:


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!