Display Alert with UITextField Entry in Swift (XCODE 8.3)

In your iOS application you often have to display alert window (UIAlertController) with TextField on it.

First you create UIAlertController object and then you can create UIAlertAction object which can be added to UIAlertController object

To add TextField to UIAlertController you can use
uiAlertControl.addTextField(configurationHandler: nil)