An open API service indexing awesome lists of open source software.

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.

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"]
++++


Banner



Author
EMail
MIT


Version
Platforms
Swift


Build Passing
Cocoapods
Carthage
SPM


++++

: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)
----