olgeni/MBProgressHUD — comment on commit 617981f5e812e9e7b3796e37eb573f3b688b30fb
File:  line 0
By rolinster:

Does this fork require ARC to run properly. I've attempted to run the demo after modifying code to display the cancel button. Upon entry into the delegate method HidDidCancel, I get an exception. On the iPad simulator I get the following errors:

2012-02-14 13:50:12.850 HudDemo[94058:f803] Hud: ; }; layer = >
2012-02-14 13:50:12.852 HudDemo[94058:f803] Hud: >
HudDemo(94058,0xac0da2c0) malloc: *** error for object 0x6c545d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
HudDemo(94058,0xac0da2c0) malloc: *** error for object 0x6c54880: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
HudDemo(94058,0xac0da2c0) malloc: *** error for object 0x6c54990: pointer being freed was not allocated

The only change was the addition of the following line in the - (IBAction)showWithLabel:(id)sender method.

HUD.allowsCancelation = YES;

And, the implementation of the following method:

- (void)hudDidCancel:(MBProgressHUD *)hud {
NSLog(@"In hudDidCancel");
}