Global Alert Class/Function for iOS – Swift

For some funny reason, I been writing the same code over and over again to display alerts to the end user, I know pretty non practical but it was just some really low level function that I never thought about it until now.

Here is a simple class that will save a lot time.

 
 
 
Share This