Common iOS Swift Development Interview Questions

A List of some general questions that may ask you in interview

Pavlos Simas
3 min readSep 9, 2022
Photo by LinkedIn Sales Solutions on Unsplash

Before going to deep iOS Technical questions you need first to pass through some generic ones that almost every company asks them. Here a list for some possible questions:

Difference between weak and strong

A weak reference is just a pointer to an object that doesn’t protect the object from being deallocated by ARC. While strong references increase the retain count of an object by 1, weak references do not.

Difference between struct and class

In Swift, structs are value types whereas classes are reference types. When you copy a struct, you end up with two unique copies of the data. When you copy a class, you end up with two references to one instance of the data.

let vs var vs lazy var

let is used to declare an immutable constant. You cannot change the value of it later. var is used to create a mutable variable that you can change later. lazy var is a property whose initial value is not calculated until the first time it’s called.

Memory Leaks

--

--

Pavlos Simas

iOS Developer, with passion about Development, Marketing and Finance. Join Medium from the following link: https://simaspavlos.medium.com/membership