I have a PageViewController with two View controllers. Is it possible to create a custom class for ViewController to control behaviour? for instance, one of the ViewControllers has a button and I create a class for this ViewController to control the behavior of button click?
Thanks in advance!