I have an alert view in Xcode written in Swift and I'd like to determine which button the user selected (it is a confirmation dialog) to do nothing or to execute something. Currently I have:I have an alert view in Xcode written in Swift
I have an alert view in Xcode written in Swift and I'd like to determine which button the user selected (it is a confirmation dialog) to do nothing or to execute something. Currently I have:I have an alert view in Xcode written in Swift