December 2018
Intermediate to advanced
414 pages
10h 19m
English
Strong references are the default. Any time that you set a property on an object or capture a reference inside a block, the reference count increases on the object, and the lifetime of the object is extended:
class Child {}class Parent { let children: [Parent]}let c = MyClass()let other = MyOtherClass(class: c)
Read now
Unlock full access