Hi. My name is Alex Wiltschko.

This is my internet log.



25 August, 2010

Pretty pop-up notifications for the iPhone

While working on an update to Backtrack, I found I needed some non-interactive pop-up windows, just to let the user know what the heck is going on sometimes.

So, I whipped a little something up. You can download the source at Github.

Rounded Rect NormalRounded Rect SuccessRounded Rect Failure

After you add two source files, and two images to your app, getting a notification up is simple as:

AWNotification *notification = [[AWNotification alloc] initWithNotificationStyle:AWNotificationStyleRoundedRect];
notification.message = @"Let's do this...";
[notification show]; 

And tearing it down later is just as easy:

[notification hideWithSuccessMessage:@"We did it!"]; 
[notification release];
Search it. Browse it. Subscribe it. Get caught up in it.


Get the RSS feed! Go ahead.