Last active
July 22, 2017 02:29
-
-
Save lawreyios/5acc1ce51bf086abf97f903934bd763c to your computer and use it in GitHub Desktop.
#SwiftyInfo — What in the world is ARC? — Part 1
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
class Person { | |
let name: String | |
init(name: String) { | |
self.name = name | |
} | |
} | |
var person1: Person? = Person(name: "John") | |
var person1A = person1 | |
var person1B = person1 | |
person1 = nil | |
person1A = nil | |
person1B = nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment