OC中: Init methods must return a type related to the receiver type
2015-05-31 20:49
288 查看
Xcode 中报错如下:
Init methods must return a type related to the receiver type
原因:在OC语法规范中、方法名不能以 init 开头。
换个名字就OK了。
Init methods must return a type related to the receiver type
原因:在OC语法规范中、方法名不能以 init 开头。
换个名字就OK了。
相关文章推荐
- Qt移植 Window --Linux
- VMware中网络设置之host-only
- Android的ExpandableListView-android学习之旅(二十八)
- Android的ExpandableListView-android学习之旅(二十八)
- Android的ExpandableListView-android学习之旅(二十八)
- 作为DBA如何表达你对女神的爱?
- 第十二周项目一--教师兼干部类
- 开源Asp.net CMS mojoPortal-源码运行
- Oracle相关知识
- ubuntu15.04下安装部署Solr5.1.0(结构介绍)
- Java学习日记值类和对象小结
- 信息院赛-小红灌溉 bfs
- Perl 正则表达式
- java Collection接口和Collections类的层次关系图,类图
- 第十二周上机项目3 时间类
- 设计模式--动态代理(CGLIB)
- 钟表维修管理系统技术解析(二) 登陆验证
- Hive表
- 南阳14 会场安排问题
- MessageBox 用法合集