title: Block for UIAlertViewDelegate
body: <p>I'm pretty new to objective C and I'm just trying to figure out if I can use a block or a selector as the UIAlertViewDelegate argument for UIAlertView - and which is more appropriate?</p>
  
  <p>I've tried the following but it just isn't working so I'm not sure if I'm on the right track or not?</p>
  
  <pre><code>    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Checked In" 
      message:responseString
      delegate:^(UIAlertView * alertView, NSInteger buttonIndex)
                                                      {
                                                         NSLog(@"Done!");
                                                     } 
      cancelButtonTitle:@"OK" 
      otherButtonTitles: nil];
  </code></pre>
  
  <p>Thanks!</p>