Swift Cheat Sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
==References== | ==References== | ||
* [https://koenig-media.raywenderlich.com/uploads/2019/11/RW-Swift-5.1-Cheatsheet-1.0.1.pdf Swift 5.1 Cheat Sheet and Quick Reference] | |||
* [https://www.programiz.com/swift-programming/operators Swift Operators] | * [https://www.programiz.com/swift-programming/operators Swift Operators] |
Revision as of 10:09, 8 December 2020
import UIKit
var greeting = "Hello "
let greetedTo = "World"
greeting = greeting + greetedTo
//greeting = "\(greeting)\(greetedTo)"
print(greeting)