swiftDialog icon indicating copy to clipboard operation
swiftDialog copied to clipboard

Support UIKit's "destructive" alerts

Open acodega opened this issue 1 year ago • 1 comments

While doing research on Apple's Human Interface Guidelines, I discovered their "destructive" UI alert style. This would be interesting to have available in swiftDialog, for situations where we want the user to allow an action but make sure they know that it's destructive.

No alternatives are aware of since this feature would change the text color of the affirmative action button to red.

Ironically, it took me some time to find a macOS example although this is very common in iOS.

image

acodega avatar Jun 19 '24 11:06 acodega

Interesting. Certainly something that can be considered. Will have a think about how it could be implemented (e.g. explicitly or automatically)

bartreardon avatar Jul 23 '24 01:07 bartreardon