Explain me what Is A Deinitializer In Swift?

Submitted by: Muhammad
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.

}
Submitted by: Muhammad

Read Online Swift Developer Job Interview Questions And Answers