Too many arguments to function call... XCode报这样的错误
如图:
![](https://box.kancloud.cn/2016-05-05_572b0154ba161.jpg)
解决办法:Enable Strict Checking of objc_msgSend Calls 设置为NO即可
![](https://box.kancloud.cn/2016-05-05_572b0154de30a.jpg)
- 前言
- object_getIvar
- object_getClass
- object_getClassName
- object_setClass
- object_isClass
- object_setIvar
- objc_getClass
- Too many arguments to function call...
- objc_msgSend
- class_copyIvarList和class_copyMethodList
- method_exchangeImplementations
- 运用SEL,运行时改变两个方法的实现
- class_getInstanceMethod和class_getClassMethod
- class_respondsToSelector
- Objective-C Runtime 运行时之三:方法与消息