Skip to content

Instantly share code, notes, and snippets.

@igordeoliveirasa
Created March 27, 2015 19:17
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 igordeoliveirasa/bdc54869ce494f756f83 to your computer and use it in GitHub Desktop.
Save igordeoliveirasa/bdc54869ce494f756f83 to your computer and use it in GitHub Desktop.
iOS Alert
let alertController = UIAlertController(title: "Atenção...", message: "Código de funcionário inválido!", preferredStyle: UIAlertControllerStyle.Alert)
alertController.addAction(UIAlertAction(title: "Ok", style: UIAlertActionStyle.Default, handler: nil))
self.presentViewController(alertController, animated: true, completion: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment