Skip to content

Instantly share code, notes, and snippets.

@kevinbluer
Created April 25, 2015 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinbluer/847c61de4c0a3c7d7148 to your computer and use it in GitHub Desktop.
Save kevinbluer/847c61de4c0a3c7d7148 to your computer and use it in GitHub Desktop.
var alert = UIAlertController(title: "Hello", message: "World", preferredStyle: UIAlertControllerStyle.Alert)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.Default, handler: nil))
self.presentViewController(alert, animated: true, completion: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment