Skip to content

Instantly share code, notes, and snippets.

@below below/Optional.swift

Created Nov 11, 2016
What would you like to do?
What the What?
import Foundation
let scheme : String! = "https" // "https"
let host = "" // ""
let urlString = "\(scheme)://\(host)" // "Optional("https")://" // <-- WHAT?
let url = URL(string: urlString) // nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.