Tableview delegate methods not called for subclasses of generics

Originator:nfox513
Number:rdar://34837156 Date Originated:10/5/2017
Status:Open Resolved:
Product: Product Version:
Classification: Reproducible:
 
Summary:
Making a subclass of a generic class where you specify the type, delegate methods don't get passed correctly.

Steps to Reproduce:
1) Create generic UIViewController class with UITableView property (with delegate and dataSource set to self).
2) Subclass this UIViewController and specify type.
3) Implement delegate functions on subclass.

Expected Results:
Subclass instances call delegate functions.

Actual Results:
Subclass instances don't call delegate functions. If base class implements these functions and subclass overrides, then they are called.


Version/Build:
XCode 9.0, 9A235

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!