Answers

Question and Answer:

  Home  Swift Developer

⟩ Explain me what Is A Deinitializer In Swift?

If you want to perform an additional clean-up of your classes, it is possible to define a block called deinit.

Syntax -

deinit {

//Your cleanup statement here.

}

 180 views

More Questions for you: