TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Depends on: | |
RBBAnimation | ~> 0.3.0 |
CAAnimationBlocks | ~> 0.0.1 |
LMAlertView
aims to be an end-to-end, customisable clone of UIAlertView
for iOS 7. Identical frost/gaussian blur effect, colours, CALayer
animations.
I rushed this together in a few days so it isn't quite perfect, but almost there!
I've provided a handful of demos in the bundled example project. To get them to work, you must first install project dependancies with CocoaPods by running:
pod install
Spot the difference!
Star rating demo:
Credit card selection demo:
Work in progress - embedded view controllers:
Video:
Use the awesome CocoaPods to add LMAlertView
to your project:
pod 'LMAlertView'
LMAlertView *alertView = [[LMAlertView alloc] initWithTitle:@"Test"
message:@"Message here"
delegate:nil
cancelButtonTitle:@"Done"
otherButtonTitles:nil];
// Add your subviews here to customise
UIView *contentView = alertView.contentView;
[alertView show];
CASpringAnimation
replacement. Thanks @robb!