https://github.com/meniny/androiddialog
🗿 An Android Dialog framework for iOS.
https://github.com/meniny/androiddialog
alert-dialog android dialog ios swift
Last synced: about 2 months ago
JSON representation
🗿 An Android Dialog framework for iOS.
- Host: GitHub
- URL: https://github.com/meniny/androiddialog
- Owner: Meniny
- License: mit
- Created: 2018-04-29T13:03:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-19T10:35:53.000Z (about 8 years ago)
- Last Synced: 2025-07-20T07:31:48.782Z (12 months ago)
- Topics: alert-dialog, android, dialog, ios, swift
- Language: Swift
- Homepage:
- Size: 274 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE.md
Awesome Lists containing this project
README
:name: AndroidDialog
:author: Elias Abel
:mail: admin@meniny.cn
:desc: an Android Dialog framework for iOS
:version: 1.0.2
:na: N/A
:ios: 8.0
:macos: {na}
:watchos: {na}
:tvos: {na}
:linux: {na}
:xcode: 9.3
:swift: 4.1
:license: MIT
= Meet `{name}`
{author} <{mail}>
v{version}, 2018-04-30
[subs="attributes"]
++++
++++
:toc:
== 🏵 Introduction
**{name}** is {desc}.
== 📋 Requirements
[%header]
|===
2+^m|Type 1+^m|Requirement
1.5+^.^|Platform ^|iOS ^|{ios}+
^|macOS ^e|{macos}
^|tvOS ^e|{tvos}
^|watchOS ^e|{watchos}
^|Linux ^e|{linux}
^|IDE ^|Xcode ^| {xcode}+
^|Language ^|Swift ^| {swift}+
|===
== 📲 Installation
=== CocoaPods
`{name}` is available on link:https://cocoapods.org[CocoaPods].
[source, ruby, subs="verbatim,attributes"]
----
use_frameworks!
pod '{name}'
----
=== Manually
Copy all files in the `{name}` directory into your project.
== 🛌 Dependency
* link:https://github.com/Meniny/JustLayout[`JustLayout`]
== ❤️ Contribution
You are welcome to fork and submit pull requests.
== 🔖 License
`{name}` is open-sourced software, licensed under the link:./LICENSE.md[`{license}`] license.
== 🔫 Usage
[source, swift]
----
import AndroidDialog
----
[source, swift]
----
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)
----