title: Can't convert this snippet to Objective C - ARC
body: <p>I have a convenient class when I want to call an alert in a button like this:</p>
  
  <pre><code>- (IBAction)test:(id)sender {
      [MyAlertView showWithTitle:@"test" withCallBackBlock:^(int value){
          NSLog(@"Button Pressed %i", value); 
      }];
  }
  </code></pre>
  
  <p>The class is very simple:</p>
  
  <pre><code>    @implementation MyAlertView
  @synthesize callBackBlock = _callBackBlock, internalCallBackBlock = _internalCallBackBlock;
  
  -(void)showWithTitle:(NSString *)title withCallBackBlock:(CallBackBlock )callBackBlock internalCallBackBlock:(CallBackBlock )internalCallBackBlock{
      self.callBackBlock = callBackBlock;
      self.internalCallBackBlock = internalCallBackBlock;
  
      dispatch_async(dispatch_get_main_queue(), ^{
          UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:title message:title delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK" , nil];
          [alertView show];
          [alertView autorelease];
      });
  
  }
  
  - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
      if (_callBackBlock) {
          _callBackBlock(buttonIndex);
      }
  
      if (_internalCallBackBlock) {
          _internalCallBackBlock(buttonIndex);
      }
  }
  
  
  -(void)dealloc{
      Block_release(_callBackBlock);
      Block_release(_internalCallBackBlock);
      [super dealloc];
  }
  
  
  +(void)showWithTitle:(NSString *)title withCallBackBlock:(CallBackBlock )callBackBlock{
      __block MyAlertView *alert = [[MyAlertView alloc]init];
      [alert showWithTitle:title withCallBackBlock:callBackBlock internalCallBackBlock:^(int value){
          [alert autorelease];
      }];
  
  }
  @end
  </code></pre>
  
  <p>I've profiled it on the simulator and it shows no leaks, no zombies.
  Now, when I change to ARC,
  The program crashes every time I click the test button, even though I reference everything as strong. I'm guessing thats because I'm not holding to the alertView variable.</p>
  
  <p>How can one do a convenience class like this with ARC ?</p>
  
  <p>Appending the .h file:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  typedef void(^CallBackBlock)(int value);
  
  @interface MyAlertView : NSObject&lt;UIAlertViewDelegate&gt;
  
  
  @property (copy) CallBackBlock callBackBlock, internalCallBackBlock;
  
  +(void)showWithTitle:(NSString *)title withCallBackBlock:(CallBackBlock )callBackBlock;
  @end
  </code></pre>