Swift Cheat Sheet

From Chorke Wiki
Jump to navigation Jump to search
import UIKit

var greeting = "Hello "
let greetedTo = "World"
greeting = greeting + greetedTo
//greeting = "\(greeting)\(greetedTo)"
print(greeting)

References