Auto property synthesize will not synthesize property - new warning iOS8.3

DevC picture DevC · Apr 15, 2015 · Viewed 10.6k times · Source

After updating to iOS8.3 I started getting a bunch of new warnings that werent there on iOS8.2. One in particular that caught my eye;

@property (strong, nonatomic) IBOutlet UITableView *tableView;

which was declared in a '.m' file.

What has changed in iOS8.3 to make this a warning?

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

Answer

Mark McCorkle picture Mark McCorkle · Apr 15, 2015

If you're using a UITableViewController then tableView is already synthesized. (ie. self.tableView is the tableView of the UITableViewController).