Skip to content

A Custom Alert with 2 buttons accept(right) and cancel(left) for both iPhone and Ipad.

License

Notifications You must be signed in to change notification settings

caophuocthanh/AlertAcceptCancelViewController

Repository files navigation

AlertAcceptCancelViewController

A Custom Alert with 2 buttons accept(right) and cancel(left) for both iPhone and Ipad. Give me a "Start" for this project that.

How to use

self.showAlert(title: "Opp!",
                       message: "Are you Okay?",
                       leftButtonTitle: "Not well",
                       rightButtonTitle: "I'm OK",
                       leftButtonDidTouch: {
                        print("leftButtonDidTouch")
        }) {
            print("rightButtonDidTouch")
        }

Demo

Contact

About

A Custom Alert with 2 buttons accept(right) and cancel(left) for both iPhone and Ipad.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published