I have two classes. One class is named ViewController and the other class is named TabView.
ViewController
TabView
My goal is to call a function changeTab()
changeTab()
you are creating a new instance in this line:
let myVC = ViewController()
you should get existing instance of your ViewController.then set
myVC.delegateCustom = self