mutualmobile / MMProgressHUD

An easy-to-use HUD interface with personality.
MIT License
705 stars 131 forks source link

IOS 7.0 WARNING #27

Closed bennyzhang closed 10 years ago

bennyzhang commented 10 years ago

define suppressDeprecation(Stuff) \

do { \ _Pragma("clang diagnostic push") \ _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") \ Stuff; \ _Pragma("clang diagnostic pop") \ // setWantsFullScreenlayout:' is deprecated:first deprecated in iOS 7.0 } while (0)

larsacus commented 10 years ago

Was this meant to be a pull request? Because this exact code block already exists in MMProgressHUDViewController. Or were you wanting the code referenced in your comment to be wrapped in this macro, too?