iOS 8: UIAlertController - Double Encore
The UIAlertController is a new feature of the iOS 8 SDK. It unifies functionality that you would find in the UIAlertView in iOS 7 and earlier. It also brings a slick new Objective-C block or Swift closure interface, as opposed to numerous delegate callback methods. In this article, I present the same app in Swift and Objective-C for comparison. This is a basic app that has two buttons one screen. The one at the top opens an alert-style view, and the one lower one opens an action sheet style view. Below each of these buttons is an initially hidden label....Read more...