/UIMadBro

A stupid subclass of UIAlertView. This is how I spend my free time? Really?

Primary LanguageObjective-C

UIMadBro

A stupid subclass of UIAlertView.

Retina display example

Adding this monstrosity to your project

Copy these files into your project:

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];

License

MIT.

To do

  • 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