defer swift – what is defer in swift ?

By | July 22, 2016

defer swift – what is defer in swift ?

It’s similar to the finally{} black used in C++ and Java. That means the code in defer will run anyways no matter what.

 

Leave a Reply

Your email address will not be published. Required fields are marked *