汽车财产综合不会合成财产 – 新的警告iOS8.3

前端之家收集整理的这篇文章主要介绍了汽车财产综合不会合成财产 – 新的警告iOS8.3前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在更新到iOS8.3之后,我开始收到一些新的警告,不在iOS8.2上.一个特别是我的眼睛;
@property (strong,nonatomic) IBOutlet UITableView *tableView;

这在’.m’文件中被声明.

iOS8.3中发生了什么变化,使其成为警告?

Auto property synthesis will not synthesize property 'tableView'; it will be implemented by its superclass,use @dynamic to acknowledge intention

解决方法

如果您使用的是UITableViewController,那么tableView已经被合成了. (即self.tableView是UITableViewController的tableView).
原文链接:https://www.f2er.com/iOS/329748.html

猜你在找的iOS相关文章