Sumi-Interactive/SIAlertView — pull request #83 by dereknex (2014-10-08 14:31:36+00:00)
Title: Add custom view support

Add custom view support ,
how to use:
- (id)initWithTitle:(NSString *)title andCustomView:(UIView *)customView;

example:
UITextField *field = [[UITextField alloc] initWithFrame:CGRectMake(0, 0, 200, 44)];
[field setFont:[UIFont systemFontOfSize:40.0]];
[field setBorderStyle:UITextBorderStyleRoundedRect];
//field.backgroundColor = [UIColor redColor];
SIAlertView *alertView = [[SIAlertView alloc] initWithTitle:@"Custom View" andCustomView:field];
[alertView addButtonWithTitle:@"Cancel"
font:nil
color:[UIColor orangeColor]
type:SIAlertViewButtonTypeCancel
handler:^(SIAlertView *alertView) {
NSLog(@"Cancel Clicked");
}];

[alertView show];
}