We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. I have installed TOActionSheet via CocoaPods
OK
let actionSheet = TOActionSheet(title: "Choose an action")! actionSheet.style = .light actionSheet.contentstyle = .default actionSheet.addButton(withTitle: "Rename", tappedBlock: { print("rename") }) actionSheet.addDestructiveButton(withTitle: "Delete", tappedBlock: { print("delete") }) actionSheet.show(from: sender, in: self.navigationController?.view)
Not OK
let actionSheet = TOActionSheet(style: .light)! actionSheet.contentstyle = .default actionSheet.addButton(withTitle: "Rename", tappedBlock: { print("rename") }) actionSheet.addDestructiveButton(withTitle: "Delete", tappedBlock: { print("delete") }) actionSheet.show(from: sender, in: self.navigationController?.view)
actionSheet.contentstyle = .default actionSheet.addButton(withTitle: "Rename", tappedBlock: { print("rename") }) actionSheet.addButton(withTitle: "Move", tappedBlock: { print("move") }) actionSheet.addDestructiveButton(withTitle: "Delete", tappedBlock: { print("delete") }) actionSheet.show(from: sender, in: self.navigationController?.view)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
I have installed TOActionSheet via CocoaPods
With title (1 button + 1 Destructive button)
OK
Without title (1 button + 1 Destructive button)
Not OK
Without title (2 buttons + 1 Destructive button)
OK
The text was updated successfully, but these errors were encountered: