Xcode8: Nonsensical suggestion for a tableview datasource warning fix

Originator:markd
Number:rdar://28655095 Date Originated:10/6/2016
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.0 (8A218a)
Classification:UI/Usability Reproducible:Always
 
Screenshot attached.  Project attached.

MainMenuViewController.swift:48:10:

 Instance method 'numberOfSectionsInTableView(tableView:)' nearly matches optional requirement

 'tableView(_:titleForHeaderInSection:)' of protocol 

'UITableViewDataSource'

Don't quite see how one is nearly matching the other.

The fixits are also pretty strange - @nonobjc (for a tableview delegate...) or marking something private.

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
Version 8.0 (8A218a)
10.12 (16A323)

Notes:


Configuration:


Attachments:
'Screen Shot 2016-10-06 at 2.10.54 PM.png', 'Conduit.zip' and 'Screen Shot 2016-10-06 at 2.08.36 PM.png' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!