Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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