jdg / MBProgressHUD

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

Small fix request for legacy release #603

Open koenvanderdrift opened 4 years ago

koenvanderdrift commented 4 years ago

Please update the following two lines in the legacy release to make the compiler happy:

In MDProgressHUD.h:

-typedef void (^MBProgressHUDCompletionBlock)();
+typedef void (^MBProgressHUDCompletionBlock)(void);

In MDProgressHUD.m:

-- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(void (^)())completion {
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(void (^)(void))completion {

I tried to push these, but I do not have the privileges.