Glossary: Swift Beyond the Basics
deinitializer
Also written: deinit
Code in a class, written `deinit`, that runs just before ARC frees an object. Printing from it shows exactly when the object goes. Structs have none.
Glossary: Swift Beyond the Basics
Also written: deinit
Code in a class, written `deinit`, that runs just before ARC frees an object. Printing from it shows exactly when the object goes. Structs have none.