Upload
tomohiro-kumagai
View
139
Download
7
Embed Size (px)
Citation preview
let tuple: (Int, String) = (200, "OK")
func request(_ path: String) -> (status: Int, message: String) { return (200, "OK") }
let (status, message) = request("path")
enum Optional<Wrapped> : ExpressibleByNilLiteral {
case none case some(Wrapped) }