title: How to perform two different functions for a single uibutton action
body: <p>I have a UIButton and a action to it.Now i need to perform some task when user clicks the button for the first time and another set of statements when user clicks for the second time.How can i do this?
  Thanks in advance</p>