您的位置:首页 > 移动开发 > IOS开发

ios常见错误日志

2016-07-28 12:55 309 查看
1.Member reference type ‘struct objc_class *‘ is a pointer; maybe you meant to use ‘->‘?

Definition of ‘struct objc_class‘ must be imported from module ‘ObjectiveC.runtime‘ before it is required

在类方法中( +(void)...... )不能使用self.

因为此时还没有创建出自己的对象
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: