Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
do {
let testReference1 = TestReference(temp1: 1, temp2: 2)
let testReference2 = testReference1
testReference2.temp1 = 10
dump(testReference1)
dump(testReference2)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment