Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Conversation

@kawanet
Copy link

@kawanet kawanet commented Dec 17, 2012

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.

@dhoerl
Copy link

dhoerl commented Feb 11, 2014

I added this to my fork, dhoerl/ATMHud, which I plan to support for a long time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants