swiftDialog
swiftDialog copied to clipboard
Support UIKit's "destructive" alerts
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.
Interesting. Certainly something that can be considered. Will have a think about how it could be implemented (e.g. explicitly or automatically)