Changed from UIAlertView(depricated in iOS8) to UIAlertViewController.
.gitignore added