Skip to content

Instantly share code, notes, and snippets.

@arn00s
Created October 14, 2015 07:21
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 arn00s/9532dd359e4458eee3aa to your computer and use it in GitHub Desktop.
Save arn00s/9532dd359e4458eee3aa to your computer and use it in GitHub Desktop.
let actionSheet:AHKActionSheet = AHKActionSheet(title:"My title")
actionSheet.buttonHeight = 60
actionSheet.cancelButtonHeight = 80.0
actionSheet.addButtonWithTitle("the title", image: UIImage(named: "icon.png"), type: AHKActionSheetButtonType.Default, handler: { (AHKActionSheet) -> Void in
println("tapped on this button !")
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment