Created
October 24, 2015 14:56
-
-
Save ashfurrow/b10cde52162b0b7c9851 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class MyClass { | |
var example: String = "" | |
} | |
let a = MyClass() | |
// The state of a is that example is "" | |
a.example = "hi" | |
// The state has changed, so that example is "hi" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment