| Type | Concept |
| Note created | Feb 17, 2025 |
In Swift, deinitializers are a special kind of function that is called once the last copy of a class in a given scope is destroyed. They cannot receive or return data since they are automatically called by the language.