title: is there easy way to handle UIAlertView result without delegation?
body: <p>I have a function that shows a UIAlertView with YES/NO buttons, and it is used only inside the function's scope so I dont want to implement a delegation to catch the user feedback. </p>
  
  <p>Is there any way to know what button users clicked without implement UIAlertViewDelegate, something like:</p>
  
  <pre><code>[alert show];
  if([alert indexOfClickedButton] == indexOfYes)
  {
  ....
  }
  </code></pre>
  
  <p>Or lambda expression as in Animation</p>