XCODE MacOS develop for create Alert

Code :


 let alert = NSAlert()
 alert.messageText = "Information"
 alert.informativeText = "Please check all information has entry"
 alert.alertStyle = NSAlert.Style.warning
 alert.addButton(withTitle: "OK")
 alert.runModal()


run Code :


留言

這個網誌中的熱門文章

Easy Triangle Calculator

Powershell transfert UPS Worldship address book to csv file for UPS web import

Swift Sprite Kit easy to create bullet