AndroidDialog
Meet
🏵 Introduction
AndroidDialog is an Android Dialog framework for iOS.
📋 Requirements
Type | Requirement | |
---|---|---|
Platform |
iOS |
8.0+ |
macOS |
N/A |
|
tvOS |
N/A |
|
watchOS |
N/A |
|
Linux |
N/A |
|
IDE |
Xcode |
9.3+ |
Language |
Swift |
4.1+ |
📲 Installation
Manually
Copy all files in the AndroidDialog
directory into your project.
🛌 Dependency
❤️ Contribution
You are welcome to fork and submit pull requests.
🔖 License
AndroidDialog
is open-sourced software, licensed under the MIT
license.
🔫 Usage
import AndroidDialog
let dialog = AndroidDialog.init()
dialog.setTitle("Alert")
dialog.setMessage("This is a message!!! O(∩_∩)O~")
dialog.setPositiveButton("Done") { (d) in
d.hide()
}
dialog.coverType = .blurred(.dark)
dialog.show(to: self.view)