mutualmobile / MMProgressHUD

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

Added attributes to allow MMProgressHUD to compile when app contains … #39

Closed obyrnesean closed 9 years ago

obyrnesean commented 9 years ago

…an extension.

Recently worked on a project that had an old version (0.2.3) of MMProgressHUD. Upon updating to the latest version (0.3.1) of MMProgressHUD, the project no longer compiled because MMProgressHUD contains a number of UIApplication methods which you cannot use if your project contains an extension. After doing a bit of research, I took a page from the AFNetworking team and added attributes to the offending methods which now allows MMProgressHUD to successfully compile.

Please consider using my update for those who might be running into similar issues.

larsacus commented 9 years ago

Looks good to me. I'll get it in and rev the pod sometime this weekend.

larsacus commented 9 years ago

@obyrnesean I've published pod 0.3.2 which includes this change. Let me know if anything surprising happens.