Created
October 20, 2017 14:42
-
-
Save stfalconaleks/99c0c4d0315606bd852e0d7e1ad819b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fileprivate var alertVC: UIAlertController = { | |
let vc = UIAlertController(title: "Warning", message: "No internet connection", | |
preferredStyle: .alert) | |
let action = UIAlertAction(title: "Ok", style: .default, handler: nil) | |
vc.addAction(action) | |
return vc | |
}() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment