Swift-iOS Interview Questions-Part 6

Baljit Kaur
Swift Interview Preparations
3 min readJan 29, 2024

--

Interview Questions about swift, iOS, Xcode

1. Explain About the Atomic And Non-Atomic Properties.

Atomic. It is the default behavior. here only one thread can access the variable that’s why it is threaded safe.but it is slow in performance.

Non-Atomic. non-atomic means multiple threads can access the variable that’s why it is not threaded safe but its performance is fast.

2. Where can we test the iOS application if we don’t have an Apple Device?

If we don’t have an Apple Device we can test the application on a simulator.

3. Explain the Execution States for iOS Application.

iOS application has the following execution states.

  • Not Running — In this condition the application is not launched or Terminated.
  • Suspended — App is still in memory.
  • BackGround — App is running in the background.
  • InActive — transition state, App is running but did not receive any user event because of call and message.
  • Active — App is on-screen and in running state.

4. What is plist in

--

--

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