Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.3 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.3 KB

RKDialogbox

Installation

RKDialogbox is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RKDialogbox'

Usage

First, your should import framework to swift file:

import RKDialogbox

Then use it wherever you need to display the Dialog 😌

example for one buttom mood:

RKDialogbox.oneButton(title: "title",
                      message: "write message here ...",
                      firstButtonTitle: "Done",
                      firstActionCallback: ...,
                      isDismissible: true)

and two buttom mood:

RKDialogbox.twoButton(title: "Title",
                      message: "write message here ...",
                      firstButtonTitle: "OK",
                      secondButtonTitle: "Cancel",
                      isDismissible: true,
                      firstActionCallback: ...,
                      secondActionCallback: ...)

⚠️ All parameters in the methods are optional.

Author

Ramazan Karami ([email protected])

License

RKDialogbox is available under the MIT license. See the LICENSE file for more info.