In [[Swift]], _deinitializers_ are a special kind of function that is called once the last copy of a [[Classes in Swift|class]] in a given scope is destroyed. They cannot receive or return data since they are automatically called by the language.