A stupid subclass of UIAlertView.
Copy these files into your project:
- UIMadBro.h
- UIMadBro.m
- face.png
- face@2x.png
Import it:
#import "UIMadBro.h"
Call it thusly:
UIMadBro *alertView = [[UIMadBro alloc] initWithTitle:@"Problem" message:@"u mad?" delegate:self cancelButtonTitle:@"GTFO" okButtonTitle:@"Okay. :("];
[alertView show];
MIT.
- LICENSE file (?), fix headers
- Handle multi-line messages better (and remove a few (shameful) hard-coded dimensions)
- Smooth out white border of image (so it looks less jagged in the sim)
- Find a more productive use of my free time