Swift Cheat Sheet
Jump to navigation
Jump to search
import UIKit
var greeting = "Hello "
let greetedTo = "World"
greeting = greeting + greetedTo
//greeting = "\(greeting)\(greetedTo)"
print(greeting)
import UIKit
var greeting = "Hello "
let greetedTo = "World"
greeting = greeting + greetedTo
//greeting = "\(greeting)\(greetedTo)"
print(greeting)