Skip to content

merichle/RKDialogbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published