Skip to content

lmcd/LMAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f481d44 · Jan 7, 2014
Jan 7, 2014
Dec 18, 2013
Nov 26, 2013
Jan 7, 2014
Nov 14, 2013
Nov 14, 2013
Dec 17, 2013
Dec 10, 2013
Dec 16, 2013
Dec 17, 2013

Repository files navigation

LMAlertView

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:

pod install

Spot the difference!

Star rating demo:

LMAlertView-review@2x

Credit card selection demo:

LMAlertView-card@2x

Work in progress - embedded view controllers:

Video:

Installation

Use the awesome CocoaPods to add LMAlertView to your project:

pod 'LMAlertView'

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

Bitdeli Badge