Override non-dynamic class delaration
问题 With new Xcode 8.3, I get error : Cannot override a non-dynamic class declaration from an extension in line of code override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell How I can avoid this warning? 回答1: which means, you can't not override like super class delegate method in extension. the way you can do is mv extension override method to subclass declare. final class DEMO, UITableViewDataSource, UITableViewDelegate { override func tableView(