This Code demonstrates the usage of new introduced UIAlertController in iOS 8 using swift. UIAlertView and UIActionsheet if replaced by UIAlertController in iOS 8