Created
May 31, 2015 13:13
-
-
Save peterentwistle/fcda0695db2dfd0c1087 to your computer and use it in GitHub Desktop.
In this second video I show you how variables work in Swift.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println("Hello World!") | |
var name: String | |
name = "Peter" | |
var x = 20 | |
var y: Float = 5.2 | |
var isEnabled: Bool = false | |
Float(x) + y | |
x = 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment