Skip to content

Instantly share code, notes, and snippets.


fitomad/swift5_SE-0230.swift Secret

Created Jan 21, 2019
What would you like to do?
if let desappstreURL = URL(string: "")
// En Swift 4 el tipo de webContents sería String??
// En Swift 5 se *aplana* y webContents sería String?
let webContents = try? String(contentsOf: desappstreURL)
print("Contenido de\r\n \(webContents)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment