Tag Archives: defer swift

Swift Defer Statement explained

      No Comments on Swift Defer Statement explained

When you want to ensure that a code block is executed just before control exits the scope,¬†Swift Defer Statement comes to your rescue. Sometimes a function is required to have multiple conditional exit point and covering those exit points without swift defer statement can lead to code duplication¬†or it might… Read more »

Swift Interview Questions and Answers

      No Comments on Swift Interview Questions and Answers

This article is meant to be a guide. Target is to evolve it to a exhaustive list of swift questions and answers with your support. Given below are few of the most common questions asked in swift interview straight from swift docs, which according to me is a must read… Read more »