Senior iOS Developer Interview Questions

  • What is difference between value type and reference type?
  • What is difference between class and structure in Swift?
  • What is autorelease pool?
  • What is runloop?
  • What is NSManagedObject?
  • What is NSManagedObjectContext?
  • Explain @Published macro.
  • What is ObservableObject?
  • What is dynamic dispatch?
  • Difference between static and dynamic framework.
  • What is MVC?
  • What is Thread Sanitizer?
  • What are different ways of implementing concurrency in iOS?
  • What is publisher in Combine?
  • What is subscriber in Combine?
  • What are different types of publishers?
  • What are different methods of publishers?
  • What is the difference between a global queue and a serial queue?
  • How to see what dynamic frameworks an executable depends on?
  • How to see whether a framework is 'embedded' or not while adding it as a dependency?
  • What is dynamic loader/linker?
  • What is static linker?
  • What is a view modifier?
  • What is a geometry reader?
  • What is Auto Layout?
  • What is a size class, and what types of size classes are there?
  • Can we have multiple contexts while using a single Core Data database?
  • What is copy-on-write?
  • Explain Codable.
  • Explain Sendable.
  • Explain Equatable.
  • What is CustomStringConvertible used for?
  • How can we make a singleton type safe?
  • What is an Actor in Swift?
  • Explain the usage of async and await.
  • What is a retain cycle?
  • How to detect a retain cycle?
  • What are on-demand resources in Xcode?
  • What is OSLog?
  • Where do you save API keys in an app?
  • Can you explain the factory pattern with an example?
  • Can you explain the adapter pattern with an example?
  • Can you explain the iterator pattern with an example?
  • Demonstrate usage of the Sequence protocol.
  • Demonstrate usage of the Hashable protocol.
  • How to prevent users from taking screenshots of a particular screen in iOS?
  • What is URLSession?
  • How does prefetching in a CollectionView data source work?
  • What is the keyset paging approach to handle pagination?
  • What is LocalizedStringResource used for, and why use it in App Intents?
  • What is Address Sanitizer and Thread Sanitizer?
  • What is the @Namespace property wrapper in SwiftUI?

← Back to Writing