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!
Demos
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:
Spot the difference!
Star rating demo:
Credit card selection demo:
Work in progress - embedded view controllers:
Video:
- https://youtube.com/watch?v=G6n7oNL0-S8&feature=youtu.be (YouTube)
- http://lmcd.me/LMAlertView-3.mov (Original)
Installation
Use the awesome CocoaPods to add LMAlertView to your project:
Usage
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];
Credits
- RBBAnimation - I wouldn't have bothered with this if there wasn't a drop-in
CASpringAnimationreplacement. Thanks @robb! - EDStarRating - The star rating control used in the demo
- CAAnimationBlocks







