Customizable implementation of UIAlertViewController, UIAlertView and UIActionSheet. All in one. You can customize every detail. Make AlertView of your dream! :)
Fixed bugs
Refactoring
Add class method to get all existing LGAlertViews:
[LGAlertView getAlertViewsArray];
Fixed bugs
Carthage is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods. To install with carthage, follow the instruction on Carthage.
github "Friend-LGA/LGAlertView"
And updated demo project
Fixed bugs
Fixed bugs, updated from typedef enum
to typedef NS_ENUM
.
Now you can:
- (void)setButtonPropertiesAtIndex:(NSUInteger)index handler:(void(^)(LGAlertViewButtonProperties *properties))handler;
Fixed bugs
Added ability to transition between alert views:
LGAlertView *alertView1 = [LGAlertView alertView...
LGAlertView *alertView2 = [LGAlertView alertView...
[alertView1 transitionToAlertView:alertView2 completionHandler:nil];
Now you can:
+ (void)setTintColor:(UIColor *)color;
alertView.oneRowOneButton = YES;
- (void)forceCancel;
- (void)forceDestructive;
- (void)forceActionAtIndex:(NSUInteger)index;
alertView.padShowActionSheetFromBottom