I have written a function in Appdelegate. I want to override this function in ViewcontrollerA , ViewcontrollerB. Because same method has different behaviour in ViewcontrollerA , ViewcontrollerB.
How to call this function in Viewcontroller, I don't understand.
Update
class NaviBarVC: UIViewController {
override func viewDidLoad() {
        super.viewDidLoad()
}
func click_save() {
}
}
class ViewcontrollerA: NaviBarVC {
override func viewDidLoad() { super.viewDidLoad() }
override func click_save() { // Error 
super.click_save()
    }
 }
 
     
     
    