IOS-8-Xcode6 使用MJRefresh报错:Too many arguments to function call, expected 0, have 3
来源:互联网 发布:测量软件手机版 编辑:程序博客网 时间:2024/06/05 10:03
1.报错问题:将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 *
2.解决办法:问了下度娘,
选中项目 - Project - Build Settings - ENABLE_STRICT_OBJC_MSGSEND 将其设置为 NO 即可
如果其他文件还报错,请在报错文件添加:
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
顺便总结:目前在公司对老项目进行重构更新,用OC/Swift,主要涉及百度地图、二维码、友盟第三方、微信支付、支付宝支付、评论、tableview显示服务端数据等
0 0
- IOS-8-Xcode6 使用MJRefresh报错:Too many arguments to function call, expected 0, have 3
- IOS-8-Xcode6 使用MJRefresh报错:Too many arguments to function call, expected 0, have 3
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have 3
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- Xcode6.1使用MJRefresh、SDWebImage,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- xcode6 使用MJRefresh,Too many arguments to function call, expected 0, have *
- iOS-Bug: objc_msgSend 报错Too many arguments to function call, expected 0, have 3
- 使用MJRefresh的时候报错Too many arguments to function call ,expected 0,have3
- 使用MJRefresh,Too many arguments to function call, expected 0, have *
- 使用SDWebImage时 报错Too many arguments to function call, expected 0, have *
- objc_msgSend报错 Too many arguments to function call,expected 0,have 3
- Too many arguments to function call, expected 0, have 3
- Too many arguments to function call, expected 0, have 3
- 2015-10-9 【项目2 - 建立链栈算法库】
- 赋值运算符重载引发的思考(引用的功能) http://blog.csdn.net/yorkcai/article/details/8567441
- 顺序栈
- 第四周项目三-单链表的应用(2)
- Spring如何通过注解方式注入静态属性
- IOS-8-Xcode6 使用MJRefresh报错:Too many arguments to function call, expected 0, have 3
- 第6周项目2--建立链栈算法库
- 第3周项目1 顺序表的基本运算(3)
- TestSSLServer
- 第6周 项目2-建立链栈算法库
- iOS9 隐藏状态栏
- 在一台电脑上运行两个或多个tomcat
- [LeetCode]ZigZag Conversion
- 第6周 项目2-建立链栈算法库