xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *

转载自:  http://blog.csdn.net/wsjshx/article/details/40743291

GitHub链接:https://github.com/CoderMJLee/MJRefresh

 将XCode升级到6后,报Too many arguments to function call, expected 0, have *,在XCode5.1里能编译通过的,到xcode6就报错

objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);

Too many arguments to function call, expected 0, have *

问了下度娘,

选中项目 - Project - Build Settings -enable strict Checking of objc_msgSend Calls将其设置为 NO 即可

posted @ 2015-07-16 11:36  朱峰博客  阅读(542)  评论(0编辑  收藏  举报