atomton/ATMHud — pull request #23 by kawanet (2012-12-17 05:50:01+00:00)
Title: removeViewWhenHidden property added

removeViewWhenHidden property added to call removeFromSuperview after hudDidDisappear fired.

Usage:

[hud setRemoveViewWhenHidden:YES];

This works as similar to following:

- (void) hudDidDisappear:(ATMHud*)hud
{
[hud.view removeFromSuperview];
hud.view = nil;
}

I'm using ATMHud just for show alert message.
This property=YES helps me to avoid using delegate.
Calling hudDidDisappear would make crashed when an object is not exist.

Thank you for providing this great library anyway.