Swift-iOS Interview Questions-Part 5

Baljit Kaur
Swift Interview Preparations
3 min readJan 16, 2024

--

Interview Questions about swift, iOS, Xcode

1. What is a lazy property in swift?

Lazy property is a property whose initial value is not calculated until the first time it is used. We can indicate a lazy property with the help of a lazy modifier. Lazy properties are useful when the initial value for a property is dependent on outside factors.

2. What is UiKit in iOS?

UIkit is the framework, You will use it at the time of developing an iOS Application. Core Components of an iOS application are defined in it like label, button, views, navigation controller.

3. What is the foundation?

Foundation is a framework, work as a bread and butter in the toolbox of an iOS Developer. It provides a large number of building blocks and Nsobject root class. It provides the NSObject root class and a large number of fundamental building blocks for iOS app development. It accesses essential data types, operating system service, and collections to the base layer of the functionality of the application.

4. What is a Singleton Pattern?

It is the most commonly used design pattern in iOS and it is easiest to use. Singleton pattern we only used to create…

--

--

Baljit Kaur
Swift Interview Preparations

iOS Developer  since 2021 || Writing a new blog post every day related to Swift, SwiftUI, iOS and Xcode || Passionate Professional