- 博客(1)
- 收藏
- 关注
原创 iOS 初始化报错 cannot assign to self outside of a method in the init
我们在自己写初始化时候会遇到这样的报错 如果我们的初始化时init方法 原因在于我们的初始化方法必须要用init开头 如 initWithShowDropDown…… 这样 我们的self = [super init]便不会报错了 或者进行如下修改
2016-10-29 10:02:54 2147
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人