Cocoanetics / DTFoundation

Standard toolset classes and categories
BSD 2-Clause "Simplified" License
805 stars 237 forks source link

Fixes rootViewController warning on DTProgressHUD #71

Closed odrobnik closed 10 years ago

odrobnik commented 10 years ago

Running under iOS 7 there can be a warning about missing rootViewController if the progress HUD is spawned too early. This warning does not happen on iOS 8 or if doing the initial show with dispatch_async on main thread to force it onto the next run loop.

Still, I'd like to move some code from DTProgressHUD in DTProgressHUDWindow to clean it up a bit.

odrobnik commented 10 years ago

@gugmaster you approve?