LGAlertView
LGAlertView copied to clipboard
actionHandler problem
why? actionHandler from
^(LGAlertView *alertView, NSString *title, NSUInteger index)
to ^(LGAlertView *alertView, NSUInteger index, NSString *title) ;
So unreasonable!!!
It's a stupid design!
What the problem more descriptive?
We have LGAlertViewActionHandler
typedef void (^ _Nullable LGAlertViewActionHandler)(LGAlertView * _Nonnull alertView, NSUInteger index, NSString * _Nullable title);
It is the same everywhere.