Created
April 12, 2018 11:38
-
-
Save jimmythai/a26e36d135b4a85cb20738f42724ff7d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // The key questions we ask ourselves in these cases is: does the nil value occur due to a programmer error? // | |
| /////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // Somthing like this: | |
| let url: URL? = URL(string: "https://gist.github.com") | |
| // To this: | |
| let url: URL = URL(string: "https://gist.github.com")! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment