title: How to check which segue was used
body: <p>I got two segue's which lead to the same <code>viewController</code>. There are 2 buttons which are connected to the same <code>viewController</code> using 2 segues. In that <code>viewController</code> I need to check which button was clicked. So actually I need to check which segue was used/preformed. How can I check this in the viewControllers class? I know there is the <code>prepareForSegue</code> method, but I cannot use this for my purpose because I need to put the <code>prepareForSegue</code> in the class where the 2 buttons are, and I don't want it there but I want it in the <code>viewControllers</code> class because I need to access and set some variables in that class.</p>