Saved Bookmarks
| 1. |
What Is A Deinitializer In Swift? |
|
Answer» 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. } 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. } |
|