Last active
September 5, 2016 19:56
-
-
Save 0ber/50dcce229bcff4aca305845dda2132e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let actionSheet = UIAlertController.actionSheet(actions: [ | |
.Default(title: "Default", handler: { _ in print("tap")}), | |
.Destructive(title: "Destructive", handler: { _ in print("tap")}), | |
.Cancel(title: "Cancel", handler: nil) | |
]) | |
presentViewController(alert, animated:true, completion:nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment