swift optionals

Creamer

Well-known member
Messages
869
#1
Swift:
let myOptional:String? = "vintology"
if let safeOptional = myOptional {
    let text:String = safeOptional
    print(text)
}
 
Top