Skip to content

KenanAtmaca/PopUpMessageBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PopUpMessageBox

İOS Beautiful animated replaceable message box

alt tag

alt tag

 puBox = PopUpMessageBox(to: self.view, icon: UIImage(named:"ms.png")!, title: "Send Message")
 
         puBox.setup()
        
         puBox.addSendHandle(target: self, selector: #selector(sendMsg))
         puBox.addCancelHandle(target: self, selector: #selector(cancelMsg))

TextView text

  func sendMsg() {
        // Send Code
        
        print(puBox.msgText!)
        
    }

Cancel handle call remove function

 func cancelMsg() {
        // Cancel Code
        
        puBox.remove()
        
    }

Change Icon,title vs.

 PopUpMessageBox(to: self.view, icon: UIImage(named "ms.png")!, title: "Send", sendTitle: "Go", cancelTitle: "Cancel", sendColor: UIColor.black, cancelColor: UIColor.gray)

About

İOS Beautiful animated replaceable message box

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages