How do we master all Swift features?
First, reading this chapter will get us through most of the important Swift features interviewers ask about in the iOS technical interviews.
But that’s not enough.
To become a true professional, we must start acting like one.
For example, reading the official Swift documentation is an excellent start to ensure we are covered with the latest Swift enhancements. We will ensure we cover the basics by going over access levels, error handling, and extensions. But don’t think of Swift as just a programming language. Some features were developed with deep thinking and interesting methodology.
Ideally, we shouldn’t answer Swift interview questions just by memorizing the technical documentation – the interviewer would like to hear our thoughts, best practices, and recommendations.
Let’s explain that idea with extensions.
A typical answer to the question “Can you please tell me about Swift extensions...