Home / IOS Development / Is there a 1 liner for making UIAlerts?

Is there a 1 liner for making UIAlerts?




I come to iOS (with fast projects) from reactive native development. In JS I wanted to create a tool method for calling quick and easy alerts from anywhere in the code base, ie: `simpleAlert (String)`.

What is a good strategy to do this in fast code that can be dialed from any ViewController?

submitted by / u / crobinson42
[comments]


Source link