码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-12-26 18:03:55      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:

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

 

将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_OBJC_MSGSEND 将其设置为 NO 即可

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

标签:

原文地址:http://www.cnblogs.com/machao/p/4187000.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!