1.<h4>Potential leak of an object stored into '某个对象'</h4>
对象存储到 '某个对象' 中可能存在内存泄露的问题.
产生原因:该对象不能被 ARC 管理.
解决办法: 手动 release 该对象.
2.<h4> Instance variable used while 'self' is not set to the result of '[(super or self) init...]''</h4>
产生原因:当前类中访问属性使用的是"_";
解决办法:使用 self 来访问这个属性.
3.<h4>The 'viewWillDisappear:' instance method in UIViewController subclass 'XXXViewController' is missing a [super viewWillDisappear:] call</h4>
产生原因: 缺少 super 方法.
解决办法:调用父类的方法就行.
4.<h4> Key argument to 'setObject:forKey:' cannot be nil</h4>
产生原因:暂时找不到原因.
解决办法:
网友评论