switch a {
case 1:
https://twitter.com/intent/tweet? print("abra")
case 3:
text=Check%20out%20this
Code is art. (Unknown)
print("cadabra")
default:
println(abracadabra")
%20Swift%203%20Cheatsheet }
CLICK TO TWEET
%20for%20making%20iPhone while b <= 60 && b > 0
{
print(b)
b -= 1
}
making iPhone apps: cell?.label?.text = "Hello World!" "Arthur", "Zaphod", "Trillian", "Marvin",
"Slartibartfast"]
%203%20Cheatsheet // Nil-coalescing operator: default value if nil
h=p://bit.ly/2diz7Um
%20for%20making
var meaningOfLife:Int = deepThought.think() ?? 42; hitchhikers += ["Deep Thought"]
via @reinderdevries
%20iPhone if let book = item as? Book
{
hitchhikers += [humma]
LearnAppMaking.com 2016
v. 1.1 for Swift 3.0