What I have is three button at the top of my app.
Those three buttons will always appear on all view controller.
When I click button, respective action will be taken.
As we have this in all viewcontroller, what I am planning is I will have method defined somewhere which I will call on clicking this button.
I am doing this because I will have method written once and call them anywhere.
ELse I had to write method for all view controller and if there are changes later, I will have to do for all view controllers.
Any idea how can I achieve the same?
What I want to do is define some method in one UIViewController and call that method in many different ViewController.