Repository for the SwiftAlert class to quickly display and handle a UIAlertView.
From this blog post at cocoahub.io
#Usage
Import SwiftAlert.swift
into your Xcode project.
Then show the alert view
SwiftAlert(showWithActionClosure: { (buttonIndex) -> Void in
println("Button number \(buttonIndex) pressed")
}, title: "Alert", message: "Alert message", cancelButtonTitle: "Cancel",otherButtonTitle:"Ok")