I have the following class hierarchy:
class ScrollableViewController: UIViewController, UITableViewDelegate { // ... }
That implements one UITableViewDelegate
protocol method, e.g. tableView:willDisplayCellAt:
In my class SpecificScrollableViewController
, which inherits from ScrollableViewController
, new optional protocol methods don't get called any more, e.g. tableView(_:heightForRowAt:)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…