Skip to content

Instantly share code, notes, and snippets.

@LeeKahSeng
Created August 3, 2017 02:14
Show Gist options
  • Save LeeKahSeng/d32ecf9e3e4ecd8e87a46bfcf27797f4 to your computer and use it in GitHub Desktop.
Save LeeKahSeng/d32ecf9e3e4ecd8e87a46bfcf27797f4 to your computer and use it in GitHub Desktop.
var testStruct = MyStruct()
testStruct.myVar1 = "test var1"
testStruct.myVar2 = "test var2"
print(testStruct.myVar1) // "test var1"
print(testStruct.myVar2) // "test var2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment