会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
多一点思考 少一份冲动 沉下心
博客园
首页
新随笔
联系
订阅
管理
2014年12月3日
关于Cannot assign to 'self' outside of a method in the init family解决方法
摘要: 有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法(self = [super init];)时会报错,错误信息如下:error:Cannot assign to 'self' outside of a method in the in
阅读全文
posted @ 2014-12-03 20:45 wyx_cs
阅读(220)
评论(0)
推荐(0)