Posts

Post marked as solved
6 Replies
After revising the func there is an error:" Invalid redeclaration of 'tableView(_:didSelectRowAt:)' "
Post not yet marked as solved
6 Replies
First I tried the former you suggested and there is a warning at the same line : " Cast from 'DemoTableViewController' to unrelated type 'ExpandingTableViewController' always fails "Then I tried the later and there are 2 errors in SecondViewController.swift at line 65 and line 109 with error message : "Cannot convert value of type 'DemoTableViewController' to expected argument type 'ExpandingTableViewController' "
Post not yet marked as solved
6 Replies
This's the definition:DemoTableViewController.swiftimport UIKit class DemoTableViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() }