https://github.com/kenanatmaca/popupmessagebox
İOS Beautiful animated replaceable message box
https://github.com/kenanatmaca/popupmessagebox
alertview ios ios-animation swift
Last synced: 4 months ago
JSON representation
İOS Beautiful animated replaceable message box
- Host: GitHub
- URL: https://github.com/kenanatmaca/popupmessagebox
- Owner: KenanAtmaca
- License: mit
- Created: 2016-11-06T10:50:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-06T11:55:06.000Z (over 9 years ago)
- Last Synced: 2025-06-03T14:43:39.141Z (about 1 year ago)
- Topics: alertview, ios, ios-animation, swift
- Language: Swift
- Size: 13.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PopUpMessageBox
İOS Beautiful animated replaceable message box


```Swift
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
```Swift
func sendMsg() {
// Send Code
print(puBox.msgText!)
}
```
Cancel handle call remove function
```Swift
func cancelMsg() {
// Cancel Code
puBox.remove()
}
```
Change Icon,title vs.
```Swift
PopUpMessageBox(to: self.view, icon: UIImage(named "ms.png")!, title: "Send", sendTitle: "Go", cancelTitle: "Cancel", sendColor: UIColor.black, cancelColor: UIColor.gray)
```