In this post, we take a look at the UIAlertController class, a class introduced by Apple in iOS 8 as a replacement for the traditional UIAlertView and UIActionSheet classes.
The Swift guard Statement
Swift’s guard statement brings the power of the nightclub doorman to the Swift language promising cleaner, more explicit and a more elegant code. In this article I want to find out whether it lives up to these promises.