更新到 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)。
关于ios - Auto property synthesize will not synthesize property - 新警告 iOS8.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29656294/