Skip to content

KenanAtmaca/KAlertBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KAlertBox

İOS Beautiful Animated Alert Box

alt tag

alt tag

Default Alert Box init

 abox = KAlertBox(to: self.view, status: .success, title: "Title", subtitle: "Subtitle", animationPosition: .bottom, alertStyle: .action)
 abox.setup()
 abox.addAction()

or set action handle code

abox.addAction { 
            // code
        }

You should change design

alt tag

Select your need init

KAlertBox(to: self.view, status: .success, title: "", subtitle: "", animationPosition: .left, alertStyle: .action)
KAlertBox(to: self.view, status: .warning, title: "", subtitle: "", animationPosition: .right, buttonActionTitle: "", buttonActionColor: UIColor.red)
KAlertBox(to: self.view, status: .error, title: "", subtitle: "", animationPosition: .bottom, buttonActionTitle: "", buttonCancelTitle: "")
KAlertBox(to: self.view, status: .success, title: "", subtitle: "", animationPosition: .none, buttonActionTitle: "", buttonCancelTitle: "", buttonActionColor: UIColor.black, buttonCancelColor: UIColor.white)

Select Diffrent Animation types

    .top
    .bottom
    .left
    .right
    .none

Releases

No releases published

Packages

No packages published

Languages