jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

Implementing visibility state tracking. #293

Closed cellularmitosis closed 9 years ago

cellularmitosis commented 9 years ago

This pull request implements an enum to track whether a HUD is visible, showing, hidden, or hiding.

Additionally, the "done" animation callback (renamed to "doneHiding") is made conditional such that it only executes if the existing visibility stated was "hiding". This fixes issue 292.

https://github.com/jdg/MBProgressHUD/issues/292

cellularmitosis commented 9 years ago

Crap, I didn't mean to also include the updates to the podspec in this pull request.

cellularmitosis commented 9 years ago

Closing this pull request. I'll open another with just the changes to MBProgressHUD.h / .m.

cellularmitosis commented 9 years ago

Well, I can't seem to figure out how to create a pull request from a specific commit :(