Sometimes you write unit testing, and have to trigger UIAlertAction without user interface.
then just do following:
Extension
1 | extension UIAlertAction { |
Usage
1 | let alertAction = UIAlertAction(title: "test", style: .default) { (action) in |
Sometimes you write unit testing, and have to trigger UIAlertAction without user interface.
then just do following:
Extension
1 | extension UIAlertAction { |
Usage
1 | let alertAction = UIAlertAction(title: "test", style: .default) { (action) in |
Using Github Action to deploy Github Page.
1 | name: Deploy |