I checked Declarations in extensions cannot override yet error in Swift 4
In my case :
I have BaseViewController like below :
class BaseViewController: UIViewController {
    func extFunction() {
        print("extFunction")
    }
}
In have another view controller
class TestViewController : BaseViewController {
    override func extFunction() { // getting error in this line
        print("extFunction from TestViewController")
    }
}
UPDATE - I have now changed it to:
class BaseViewController: UIViewController {
    func extFunction() {
        print("extFunction")
    }
}
In have another view controller
class TestViewController : BaseViewController {
    override func extFunction() { // getting error in this line
        print("extFunction from TestViewController")
    }
}
Any help would be appreciated.