ChenYilong / iOSInterviewQuestions

iOS interview questions;iOS面试题集锦(附答案)--学习qq群或 Telegram 群交流 https://github.com/ChenYilong/iOSBlog/issues/21

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

_objc_msgForward问题

CodingPub opened this issue · comments

  1. _objc_msgForward 函数是做什么的,直接调用它将会发生什么?

中的:

  1. 调用forwardInvocation:方法,将第3步获取到的方法签名包装成 Invocation 传入,如何处理就在这里面了,并返回非ni。

forwardInvocation: 方法没有返回值