Top 350+ Most Asked Swift Interview Questions
Deep-dive into Swift core fundamentals, Optional safety, and ARC memory management. Essential for junior to senior level iOS roles.
0%
Overall Progress
0/350
Status
Problem
Level
2.What are the main differences between classes and structs in Swift?Easy
2.What are the main differences between classes and structs in Swift?
Easy
3.What are some features that Swift classes can support but Swift structs cannot?Medium
3.What are some features that Swift classes can support but Swift structs cannot?
Medium
4.Explain the difference between 'let' and 'var' in Swift.Easy
4.Explain the difference between 'let' and 'var' in Swift.
Easy
5.What's the difference between a value type and a reference type?Medium
5.What's the difference between a value type and a reference type?
Medium
6.What are tuples and why are they useful?Easy
6.What are tuples and why are they useful?
Easy
7.What is the difference between an array and a set?Easy
7.What is the difference between an array and a set?
Easy
8.How is a dictionary different from an array?Easy
8.How is a dictionary different from an array?
Easy
9.What is the difference between Float, Double, and CGFloat?Medium
9.What is the difference between Float, Double, and CGFloat?
Medium
10.What does it mean when we say 'strings are collections in Swift'?Medium
10.What does it mean when we say 'strings are collections in Swift'?
Medium
11.What is a UUID, and when might you use it?Easy
11.What is a UUID, and when might you use it?
Easy
12.What are one-sided ranges and when would you use them?Medium
12.What are one-sided ranges and when would you use them?
Medium
13.Why is immutability important?Medium
13.Why is immutability important?
Medium
14.What are raw strings?Medium
14.What are raw strings?
Medium
15.When using arrays, what is the difference between map() and compactMap()?Medium
15.When using arrays, what is the difference between map() and compactMap()?
Medium
16.What is a variadic function?Medium
16.What is a variadic function?
Medium
17.Explain the concept of optionals in Swift.Easy
17.Explain the concept of optionals in Swift.
Easy
18.What is the difference between String? and String! in Swift?Medium
18.What is the difference between String? and String! in Swift?
Medium
19.How do you safely unwrap an optional?Easy
19.How do you safely unwrap an optional?
Easy
20.What is the difference between if let and guard let?Medium
20.What is the difference between if let and guard let?
Medium
21.What problem does optional chaining solve?Medium
21.What problem does optional chaining solve?
Medium
22.When would you use the guard keyword in Swift?Medium
22.When would you use the guard keyword in Swift?
Medium
23.What does the nil coalescing operator do?Easy
23.What does the nil coalescing operator do?
Easy
24.What is the difference between try, try?, and try! in Swift?Medium
24.What is the difference between try, try?, and try! in Swift?
Medium
25.How do you handle errors in Swift?Easy
25.How do you handle errors in Swift?
Easy
26.When would you use Swift's Result type?Hard
26.When would you use Swift's Result type?
Hard
27.Explain the concept of ARC (Automatic Reference Counting) in Swift.Medium
27.Explain the concept of ARC (Automatic Reference Counting) in Swift.
Medium
28.How would you explain ARC to a new iOS developer?Easy
28.How would you explain ARC to a new iOS developer?
Easy
29.How does Swift handle memory management?Medium
29.How does Swift handle memory management?
Medium
30.What is the difference between a strong, weak, and unowned reference?Medium
30.What is the difference between a strong, weak, and unowned reference?
Medium
31.What is the difference between weak and unowned?Hard
31.What is the difference between weak and unowned?
Hard
32.How would you identify and resolve a retain cycle?Hard
32.How would you identify and resolve a retain cycle?
Hard
33.How do you handle memory leaks in an iOS app?Hard
33.How do you handle memory leaks in an iOS app?
Hard
34.What steps do you take to identify and resolve a memory leak?Hard
34.What steps do you take to identify and resolve a memory leak?
Hard
35.What is the purpose of the deinit method in Swift?Medium
35.What is the purpose of the deinit method in Swift?
Medium
36.What is a closure in Swift?Easy
36.What is a closure in Swift?
Easy
37.What is the difference between an escaping closure and a non-escaping closure?Hard
37.What is the difference between an escaping closure and a non-escaping closure?
Hard
38.What is the purpose of the @escaping keyword?Medium
38.What is the purpose of the @escaping keyword?
Medium
39.When would you use @autoclosure?Hard
39.When would you use @autoclosure?
Hard
40.What is Protocol-Oriented Programming (POP)?Hard
40.What is Protocol-Oriented Programming (POP)?
Hard
41.What is a protocol in Swift, and how is it used?Easy
41.What is a protocol in Swift, and how is it used?
Easy
42.What does the CaseIterable protocol do?Medium
42.What does the CaseIterable protocol do?
Medium
43.What does the Codable protocol do?Easy
43.What does the Codable protocol do?
Easy
44.What is the importance of key decoding strategies when using Codable?Medium
44.What is the importance of key decoding strategies when using Codable?
Medium
45.What is a Swift extension?Easy
45.What is a Swift extension?
Easy
46.What is the difference between an extension and a protocol extension?Hard
46.What is the difference between an extension and a protocol extension?
Hard
47.What are generics and why are they useful?Medium
47.What are generics and why are they useful?
Medium
48.What are property observers?Medium
48.What are property observers?
Medium
49.What does the final keyword do, and why use it?Medium
49.What does the final keyword do, and why use it?
Medium
50.When would you use the defer keyword in Swift?Hard
50.When would you use the defer keyword in Swift?
Hard
51.What are the different types of app states in iOS?Easy
51.What are the different types of app states in iOS?
Easy
52.What is the purpose of the AppDelegate in an iOS app?Medium
52.What is the purpose of the AppDelegate in an iOS app?
Medium
53.What is the Responder Chain in iOS?Hard
53.What is the Responder Chain in iOS?
Hard
54.What is the role of Info.plist in an iOS app?Easy
54.What is the role of Info.plist in an iOS app?
Easy
55.What are the different options for storing data locally in iOS?Medium
55.What are the different options for storing data locally in iOS?
Medium
56.Explain the lifecycle of a UIViewController.Easy
56.Explain the lifecycle of a UIViewController.
Easy
57.What is the difference between viewDidLoad() and viewWillAppear()?Easy
57.What is the difference between viewDidLoad() and viewWillAppear()?
Easy
58.What is the significance of the didReceiveMemoryWarning method?Medium
58.What is the significance of the didReceiveMemoryWarning method?
Medium
59.What is the difference between UIView and UIViewController?Easy
59.What is the difference between UIView and UIViewController?
Easy
60.Describe the Model-View-Controller (MVC) design pattern.Medium
60.Describe the Model-View-Controller (MVC) design pattern.
Medium
61.What is the Model-View-ViewModel (MVVM) design pattern?Hard
61.What is the Model-View-ViewModel (MVVM) design pattern?
Hard
62.Explain the concept of a coordinator pattern in iOS.Hard
62.Explain the concept of a coordinator pattern in iOS.
Hard
63.What is the purpose of a Singleton in iOS development?Medium
63.What is the purpose of a Singleton in iOS development?
Medium
64.What is dependency injection, and why is it useful?Medium
64.What is dependency injection, and why is it useful?
Medium
65.Explain the concept of delegation in iOS.Medium
65.Explain the concept of delegation in iOS.
Medium
66.What is the difference between frame and bounds in UIKit?Hard
66.What is the difference between frame and bounds in UIKit?
Hard
67.What is a UITableView and how is it used?Easy
67.What is a UITableView and how is it used?
Easy
68.What is the purpose of reuse identifiers for table view cells?Medium
68.What is the purpose of reuse identifiers for table view cells?
Medium
69.What is the difference between aspect fill and aspect fit?Easy
69.What is the difference between aspect fill and aspect fit?
Easy
70.How does a view's intrinsic content size aid in Auto Layout?Hard
70.How does a view's intrinsic content size aid in Auto Layout?
Hard
71.What is the difference between present() and pushViewController()?Easy
71.What is the difference between present() and pushViewController()?
Easy
72.What is a Segue in iOS and how is it used?Easy
72.What is a Segue in iOS and how is it used?
Easy
73.What is Auto Layout in iOS?Easy
73.What is Auto Layout in iOS?
Easy
74.What is the function of anchors in Auto Layout?Medium
74.What is the function of anchors in Auto Layout?
Medium
75.What is the difference between Storyboards and XIBs?Medium
75.What is the difference between Storyboards and XIBs?
Medium
76.What is the difference between a synchronous and asynchronous task in iOS?Easy
76.What is the difference between a synchronous and asynchronous task in iOS?
Easy
77.What is GCD (Grand Central Dispatch) in iOS?Medium
77.What is GCD (Grand Central Dispatch) in iOS?
Medium
78.What are the differences between DispatchQueue.main and DispatchQueue.global?Medium
78.What are the differences between DispatchQueue.main and DispatchQueue.global?
Medium
79.How do you handle asynchronous programming in modern Swift (async/await)?Hard
79.How do you handle asynchronous programming in modern Swift (async/await)?
Hard
80.What is the role of NSOperationQueue in handling tasks?Hard
80.What is the role of NSOperationQueue in handling tasks?
Hard
81.How does the URLSession class work in iOS?Medium
81.How does the URLSession class work in iOS?
Medium
82.What is the purpose of NSURLSessionDelegate?Hard
82.What is the purpose of NSURLSessionDelegate?
Hard
83.How would you explain App Transport Security (ATS) to a new developer?Medium
83.How would you explain App Transport Security (ATS) to a new developer?
Medium
84.What is Core Data, and why would you use it?Medium
84.What is Core Data, and why would you use it?
Medium
85.Explain the difference between NSManagedObject and NSManagedObjectContext.Hard
85.Explain the difference between NSManagedObject and NSManagedObjectContext.
Hard
86.How does CloudKit differ from Core Data?Hard
86.How does CloudKit differ from Core Data?
Hard
87.What is UserDefaults good for? What is it not good for?Easy
87.What is UserDefaults good for? What is it not good for?
Easy
88.What is the role of Keychain services in securing sensitive data?Hard
88.What is the role of Keychain services in securing sensitive data?
Hard
89.What are the main types of notifications in iOS?Easy
89.What are the main types of notifications in iOS?
Easy
90.What is the purpose of NotificationCenter?Medium
90.What is the purpose of NotificationCenter?
Medium
91.How do you implement unit tests in Swift using XCTest?Easy
91.How do you implement unit tests in Swift using XCTest?
Easy
92.What is the difference between unit tests and UI tests?Medium
92.What is the difference between unit tests and UI tests?
Medium
93.What are some common techniques for profiling iOS applications?Hard
93.What are some common techniques for profiling iOS applications?
Hard
94.Explain how you would optimize an iOS app for performance.Hard
94.Explain how you would optimize an iOS app for performance.
Hard
95.What is lazy loading in iOS?Easy
95.What is lazy loading in iOS?
Easy
96.What is SwiftUI, and how does it differ from UIKit?Medium
96.What is SwiftUI, and how does it differ from UIKit?
Medium
97.Why does SwiftUI use structs for views?Hard
97.Why does SwiftUI use structs for views?
Hard
98.What does the @State property wrapper do?Easy
98.What does the @State property wrapper do?
Easy
99.What is the difference between @StateObject and @ObservedObject?Hard
99.What is the difference between @StateObject and @ObservedObject?
Hard
100.When would you use GeometryReader?Medium
100.When would you use GeometryReader?
Medium
101.How do you implement animations in iOS?Easy
101.How do you implement animations in iOS?
Easy
102.What is Core Animation, and how is it used in iOS development?Medium
102.What is Core Animation, and how is it used in iOS development?
Medium
103.What is Core Graphics and how is it used in iOS?Hard
103.What is Core Graphics and how is it used in iOS?
Hard
104.Can you name at least three different CALayer subclasses?Hard
104.Can you name at least three different CALayer subclasses?
Hard
105.When would you use CGAffineTransform?Medium
105.When would you use CGAffineTransform?
Medium
106.What is MapKit framework used for in iOS?Easy
106.What is MapKit framework used for in iOS?
Easy
107.How does SpriteKit differ from SceneKit?Medium
107.How does SpriteKit differ from SceneKit?
Medium
108.How do you implement and manage in-app purchases in iOS?Hard
108.How do you implement and manage in-app purchases in iOS?
Hard
109.What are the different ways of showing web content to users?Medium
109.What are the different ways of showing web content to users?
Medium
110.What is the difference between NSFileManager and FileManager?Easy
110.What is the difference between NSFileManager and FileManager?
Easy
111.Explain how CoreBluetooth works.Hard
111.Explain how CoreBluetooth works.
Hard
112.How do you secure user data in iOS?Hard
112.How do you secure user data in iOS?
Hard
113.What are the key security concerns for iOS apps?Hard
113.What are the key security concerns for iOS apps?
Hard
114.How do you handle touch events in iOS?Easy
114.How do you handle touch events in iOS?
Easy
115.What are the steps involved in submitting an iOS app to the App Store?Easy
115.What are the steps involved in submitting an iOS app to the App Store?
Easy
116.What are the App Store Review Guidelines?Easy
116.What are the App Store Review Guidelines?
Easy
117.What is the Combine framework?Hard
117.What is the Combine framework?
Hard
118.What is the difference between alloc and init in Objective-C?Hard
118.What is the difference between alloc and init in Objective-C?
Hard
119.What experience do you have with the Swift Package Manager (SPM)?Medium
119.What experience do you have with the Swift Package Manager (SPM)?
Medium
120.How do you stay up to date with changes in Swift?Easy
120.How do you stay up to date with changes in Swift?
Easy
121.What are some best practices when using Core Data in a large-scale application?Hard
121.What are some best practices when using Core Data in a large-scale application?
Hard
122.Explain the process of handling background tasks in iOS.Hard
122.Explain the process of handling background tasks in iOS.
Hard
123.What is the difference between Core Data and Realm?Medium
123.What is the difference between Core Data and Realm?
Medium
124.How do you handle deep linking with multiple screens in an iOS app?Hard
124.How do you handle deep linking with multiple screens in an iOS app?
Hard
125.What is the purpose of the @objc attribute in Swift?Medium
125.What is the purpose of the @objc attribute in Swift?
Medium
126.What are opaque return types (some)?Hard
126.What are opaque return types (some)?
Hard
127.What is the purpose of the ButtonStyle protocol?Medium
127.What is the purpose of the ButtonStyle protocol?
Medium
128.How do you handle orientation changes in iOS?Medium
128.How do you handle orientation changes in iOS?
Medium
129.What is a segue in iOS development?Easy
129.What is a segue in iOS development?
Easy
130.What are the benefits of using child view controllers?Hard
130.What are the benefits of using child view controllers?
Hard
131.What does the @Published property wrapper do?Easy
131.What does the @Published property wrapper do?
Easy
132.What is the purpose of the Intents framework?Hard
132.What is the purpose of the Intents framework?
Hard
133.How do you use the UIDocumentPickerViewController?Medium
133.How do you use the UIDocumentPickerViewController?
Medium
134.What is the difference between self and Self?Medium
134.What is the difference between self and Self?
Medium
135.What does the @main attribute do?Easy
135.What does the @main attribute do?
Easy
136.What is the purpose of CADisplayLink?Hard
136.What is the purpose of CADisplayLink?
Hard
137.What are results builders?Expert
137.What are results builders?
Expert
138.How do you implement App Clips in iOS?Expert
138.How do you implement App Clips in iOS?
Expert
139.What does the canImport() compiler condition do?Medium
139.What does the canImport() compiler condition do?
Medium
140.What is the difference between a modal and a pushed view?Easy
140.What is the difference between a modal and a pushed view?
Easy
141.What are phantom types and when would you use them?Expert
141.What are phantom types and when would you use them?
Expert
142.Apart from the built-in ones, can you give an example of property wrappers?Hard
142.Apart from the built-in ones, can you give an example of property wrappers?
Hard
143.What are multi-pattern catch clauses?Medium
143.What are multi-pattern catch clauses?
Medium
144.How would you calculate the secure hash value for some data?Hard
144.How would you calculate the secure hash value for some data?
Hard
145.What is the difference between an initializer and onAppear() in SwiftUI?Medium
145.What is the difference between an initializer and onAppear() in SwiftUI?
Medium
146.What does the targetEnvironment() compiler condition do?Medium
146.What does the targetEnvironment() compiler condition do?
Medium
147.What's the difference between weak and unowned?Hard
147.What's the difference between weak and unowned?
Hard
148.What is the difference between frame and center properties in a view?Easy
148.What is the difference between frame and center properties in a view?
Easy
149.How would you explain key paths to a new Swift developer?Medium
149.How would you explain key paths to a new Swift developer?
Medium
150.What is an efficient way to cache data in memory?Medium
150.What is an efficient way to cache data in memory?
Medium
151.What is the purpose of the deinit method?Easy
151.What is the purpose of the deinit method?
Easy
152.How has Swift changed since it was first released in 2014?Medium
152.How has Swift changed since it was first released in 2014?
Medium
153.What is the role of a delegate in iOS development?Easy
153.What is the role of a delegate in iOS development?
Easy
154.Explain the difference between synchronous and asynchronous operations.Easy
154.Explain the difference between synchronous and asynchronous operations.
Easy
155.How do you handle an application crash in iOS?Medium
155.How do you handle an application crash in iOS?
Medium
156.What is the function of anchors in Auto Layout?Medium
156.What is the function of anchors in Auto Layout?
Medium
157.What is the purpose of size classes?Medium
157.What is the purpose of size classes?
Medium
158.What is the difference between a frame and a bounds in UIKit?Hard
158.What is the difference between a frame and a bounds in UIKit?
Hard
159.What is the purpose of UIActivityIndicatorView?Easy
159.What is the purpose of UIActivityIndicatorView?
Easy
160.What is the difference between UIView and CALayer?Hard
160.What is the difference between UIView and CALayer?
Hard
161.Explain the concept of KVO (Key-Value Observing).Hard
161.Explain the concept of KVO (Key-Value Observing).
Hard
162.How would you add a shadow to one of your views?Medium
162.How would you add a shadow to one of your views?
Medium
163.What is the purpose of the defer keyword?Medium
163.What is the purpose of the defer keyword?
Medium
164.What does the @objc attribute do?Easy
164.What does the @objc attribute do?
Easy
165.What is the difference between a synchronous and asynchronous task?Easy
165.What is the difference between a synchronous and asynchronous task?
Easy
166.What is the purpose of reuse identifiers for table view cells?Easy
166.What is the purpose of reuse identifiers for table view cells?
Easy
167.What is the difference between an array and a set?Easy
167.What is the difference between an array and a set?
Easy
168.What problem does optional chaining solve?Easy
168.What problem does optional chaining solve?
Easy
169.What are one-sided ranges and when would you use them?Medium
169.What are one-sided ranges and when would you use them?
Medium
170.What are generics and why are they useful?Medium
170.What are generics and why are they useful?
Medium
171.How would you explain ARC to a new iOS developer?Easy
171.How would you explain ARC to a new iOS developer?
Easy
172.What is the purpose of the @main attribute?Easy
172.What is the purpose of the @main attribute?
Easy
173.Explain the difference between a value type and a reference type.Medium
173.Explain the difference between a value type and a reference type.
Medium
174.What is a closure in Swift?Easy
174.What is a closure in Swift?
Easy
175.What are conditional conformances?Hard
175.What are conditional conformances?
Hard
176.What is the purpose of the final keyword?Medium
176.What is the purpose of the final keyword?
Medium
177.What is the difference between try, try?, and try!?Medium
177.What is the difference between try, try?, and try!?
Medium
178.What does the CaseIterable protocol do?Medium
178.What does the CaseIterable protocol do?
Medium
179.What is the purpose of the Codable protocol?Easy
179.What is the purpose of the Codable protocol?
Easy
180.Explain the concept of optional binding.Easy
180.Explain the concept of optional binding.
Easy
181.What is the difference between self and Self?Medium
181.What is the difference between self and Self?
Medium
182.What are opaque return types?Hard
182.What are opaque return types?
Hard
183.What is the difference between an escaping and non-escaping closure?Hard
183.What is the difference between an escaping and non-escaping closure?
Hard
184.How would you explain protocols to a new Swift developer?Easy
184.How would you explain protocols to a new Swift developer?
Easy
185.What is the purpose of the @StateObject property wrapper?Medium
185.What is the purpose of the @StateObject property wrapper?
Medium
186.What are the benefits of using Swift Package Manager (SPM)?Medium
186.What are the benefits of using Swift Package Manager (SPM)?
Medium
187.What is the difference between viewDidLoad and viewWillAppear?Easy
187.What is the difference between viewDidLoad and viewWillAppear?
Easy
188.What does the @State property wrapper do?Easy
188.What does the @State property wrapper do?
Easy
189.What is the role of Info.plist?Easy
189.What is the role of Info.plist?
Easy
190.What is a Singleton and why use it?Medium
190.What is a Singleton and why use it?
Medium
191.What is GCD (Grand Central Dispatch) in iOS?Medium
191.What is GCD (Grand Central Dispatch) in iOS?
Medium
192.What are the differences between DispatchQueue.main and DispatchQueue.global?Medium
192.What are the differences between DispatchQueue.main and DispatchQueue.global?
Medium
193.Explain the difference between serial and concurrent queues.Medium
193.Explain the difference between serial and concurrent queues.
Medium
194.What is a race condition and how do you prevent it?Hard
194.What is a race condition and how do you prevent it?
Hard
195.What is the purpose of the async/await syntax in Swift 5.5+?Hard
195.What is the purpose of the async/await syntax in Swift 5.5+?
Hard
196.What is a Task in Swift Concurrency?Hard
196.What is a Task in Swift Concurrency?
Hard
197.What is an Actor in Swift?Expert
197.What is an Actor in Swift?
Expert
198.How does the URLSession class work in iOS?Medium
198.How does the URLSession class work in iOS?
Medium
199.What is the purpose of NSURLSessionDelegate?Hard
199.What is the purpose of NSURLSessionDelegate?
Hard
200.How would you explain App Transport Security (ATS) to a developer?Medium
200.How would you explain App Transport Security (ATS) to a developer?
Medium
201.What steps are required to make a network request?Easy
201.What steps are required to make a network request?
Easy
202.How do you handle JSON data from a network request?Easy
202.How do you handle JSON data from a network request?
Easy
203.What is Core Data and when should you use it?Medium
203.What is Core Data and when should you use it?
Medium
204.Explain the difference between NSManagedObject and NSManagedObjectContext.Hard
204.Explain the difference between NSManagedObject and NSManagedObjectContext.
Hard
205.What are the best practices for using Core Data in large apps?Expert
205.What are the best practices for using Core Data in large apps?
Expert
206.What is the difference between Core Data and CloudKit?Hard
206.What is the difference between Core Data and CloudKit?
Hard
207.What is UserDefaults not good for?Easy
207.What is UserDefaults not good for?
Easy
208.Explain the concept of Keychain in iOS.Medium
208.Explain the concept of Keychain in iOS.
Medium
209.What is the role of Keychain services in securing sensitive data?Hard
209.What is the role of Keychain services in securing sensitive data?
Hard
210.What are the main types of notifications in iOS?Easy
210.What are the main types of notifications in iOS?
Easy
211.How do you implement push notifications in iOS?Medium
211.How do you implement push notifications in iOS?
Medium
212.What is the purpose of NotificationCenter?Easy
212.What is the purpose of NotificationCenter?
Easy
213.What is an efficient way to cache data in memory?Medium
213.What is an efficient way to cache data in memory?
Medium
214.How do you implement unit tests in Swift using XCTest?Easy
214.How do you implement unit tests in Swift using XCTest?
Easy
215.What are some common techniques for debugging iOS applications?Medium
215.What are some common techniques for debugging iOS applications?
Medium
216.Explain how you would optimize an iOS app for performance.Hard
216.Explain how you would optimize an iOS app for performance.
Hard
217.What is the purpose of the deinit method?Easy
217.What is the purpose of the deinit method?
Easy
218.What does the @State property wrapper do?Easy
218.What does the @State property wrapper do?
Easy
219.What is the difference between @StateObject and @ObservedObject?Hard
219.What is the difference between @StateObject and @ObservedObject?
Hard
220.What is the role of a delegate in iOS?Easy
220.What is the role of a delegate in iOS?
Easy
221.Explain the concept of ARC (Automatic Reference Counting).Medium
221.Explain the concept of ARC (Automatic Reference Counting).
Medium
222.What is the difference between weak and unowned?Hard
222.What is the difference between weak and unowned?
Hard
223.What is a closure in Swift?Easy
223.What is a closure in Swift?
Easy
224.What is the difference between an escaping and non-escaping closure?Hard
224.What is the difference between an escaping and non-escaping closure?
Hard
225.What does the Codable protocol do?Easy
225.What does the Codable protocol do?
Easy
226.What is an extension in Swift?Easy
226.What is an extension in Swift?
Easy
227.What is the Coordinator pattern?Hard
227.What is the Coordinator pattern?
Hard
228.What is the purpose of the Storyboard identifier?Easy
228.What is the purpose of the Storyboard identifier?
Easy
229.How do you handle orientation changes?Medium
229.How do you handle orientation changes?
Medium
230.What is the difference between frame and bounds?Medium
230.What is the difference between frame and bounds?
Medium
231.What is the role of Info.plist?Easy
231.What is the role of Info.plist?
Easy
232.What is the purpose of the AppDelegate?Medium
232.What is the purpose of the AppDelegate?
Medium
233.How does the Responder Chain work?Hard
233.How does the Responder Chain work?
Hard
234.What is the difference between viewDidLoad and viewWillAppear?Easy
234.What is the difference between viewDidLoad and viewWillAppear?
Easy
235.What are size classes?Medium
235.What are size classes?
Medium
236.What is Auto Layout?Easy
236.What is Auto Layout?
Easy
237.Explain the use of reuse identifiers for TableView cells.Easy
237.Explain the use of reuse identifiers for TableView cells.
Easy
238.What is the difference between aspect fill and aspect fit?Easy
238.What is the difference between aspect fill and aspect fit?
Easy
239.What is the purpose of UIAlertController?Easy
239.What is the purpose of UIAlertController?
Easy
240.How do you secure user data in iOS?Hard
240.How do you secure user data in iOS?
Hard
241.What is the Combine framework, and how does it improve reactive programming?Hard
241.What is the Combine framework, and how does it improve reactive programming?
Hard
242.What are opaque return types and when would you use them?Hard
242.What are opaque return types and when would you use them?
Hard
243.What is Core Animation, and how is it used?Medium
243.What is Core Animation, and how is it used?
Medium
244.What is the difference between UIView and CALayer?Hard
244.What is the difference between UIView and CALayer?
Hard
245.What is Core Graphics and when would you use it?Hard
245.What is Core Graphics and when would you use it?
Hard
246.What is the purpose of CADisplayLink?Hard
246.What is the purpose of CADisplayLink?
Hard
247.What is an InjectionToken (or dependency container) in iOS?Expert
247.What is an InjectionToken (or dependency container) in iOS?
Expert
248.Explain the use of CGAffineTransform.Medium
248.Explain the use of CGAffineTransform.
Medium
249.What is the purpose of size classes?Medium
249.What is the purpose of size classes?
Medium
250.How do you handle safe area insets?Easy
250.How do you handle safe area insets?
Easy
251.What is the difference between a synchronous and asynchronous task?Easy
251.What is the difference between a synchronous and asynchronous task?
Easy
252.Explain the concept of 'early exit' using guard.Easy
252.Explain the concept of 'early exit' using guard.
Easy
253.What is a Result builder?Expert
253.What is a Result builder?
Expert
254.What is the difference between self and Self?Medium
254.What is the difference between self and Self?
Medium
255.What is a variadic function?Medium
255.What is a variadic function?
Medium
256.What are property observers?Easy
256.What are property observers?
Easy
257.What is the @objc attribute?Easy
257.What is the @objc attribute?
Easy
258.What is #available syntax?Easy
258.What is #available syntax?
Easy
259.What is an InjectionToken?Expert
259.What is an InjectionToken?
Expert
260.What is a phantom type?Expert
260.What is a phantom type?
Expert
261.What is the difference between map() and compactMap()?Easy
261.What is the difference between map() and compactMap()?
Easy
262.What is the purpose of the 'final' keyword?Medium
262.What is the purpose of the 'final' keyword?
Medium
263.Explain 'defer' keyword.Medium
263.Explain 'defer' keyword.
Medium
264.What is an escaping closure?Hard
264.What is an escaping closure?
Hard
265.What is the difference between try, try?, and try!?Easy
265.What is the difference between try, try?, and try!?
Easy
266.What is a raw string in Swift?Medium
266.What is a raw string in Swift?
Medium
267.What is a UUID?Easy
267.What is a UUID?
Easy
268.What is the difference between a Float and a Double?Easy
268.What is the difference between a Float and a Double?
Easy
269.What are one-sided ranges?Medium
269.What are one-sided ranges?
Medium
270.What are generic constraints?Medium
270.What are generic constraints?
Medium
271.What is the purpose of the '@main' attribute?Easy
271.What is the purpose of the '@main' attribute?
Easy
272.What is the difference between an enum with raw values and associated values?Medium
272.What is the difference between an enum with raw values and associated values?
Medium
273.Explain the role of the 'Result' type.Medium
273.Explain the role of the 'Result' type.
Medium
274.What is the purpose of the 'deinit' method?Easy
274.What is the purpose of the 'deinit' method?
Easy
275.What is the difference between weak and unowned?Hard
275.What is the difference between weak and unowned?
Hard
276.How do you identify a retain cycle?Hard
276.How do you identify a retain cycle?
Hard
277.What is the 'Responder Chain'?Hard
277.What is the 'Responder Chain'?
Hard
278.What is the purpose of the AppDelegate?Medium
278.What is the purpose of the AppDelegate?
Medium
279.What is the difference between frame and bounds?Medium
279.What is the difference between frame and bounds?
Medium
280.What is an intrinsic content size?Hard
280.What is an intrinsic content size?
Hard
281.What is the difference between aspect fit and aspect fill?Easy
281.What is the difference between aspect fit and aspect fill?
Easy
282.What is the purpose of reuse identifiers in TableViews?Easy
282.What is the purpose of reuse identifiers in TableViews?
Easy
283.Explain 'push' vs 'present' in navigation.Easy
283.Explain 'push' vs 'present' in navigation.
Easy
284.What are size classes used for?Medium
284.What are size classes used for?
Medium
285.What is the role of the info.plist?Easy
285.What is the role of the info.plist?
Easy
286.What is #available syntax?Easy
286.What is #available syntax?
Easy
287.What is the difference between a class and a struct?Easy
287.What is the difference between a class and a struct?
Easy
288.What is a closure capture list?Hard
288.What is a closure capture list?
Hard
289.What is the purpose of '@Published' in SwiftUI?Easy
289.What is the purpose of '@Published' in SwiftUI?
Easy
290.Explain the difference between @State and @Binding.Medium
290.Explain the difference between @State and @Binding.
Medium
291.How do you secure user data in an iOS app?Hard
291.How do you secure user data in an iOS app?
Hard
292.What are the key security concerns for iOS apps, and how do you mitigate them?Hard
292.What are the key security concerns for iOS apps, and how do you mitigate them?
Hard
293.How would you calculate the secure hash value for some data?Medium
293.How would you calculate the secure hash value for some data?
Medium
294.How much experience do you have using Face ID or Touch ID?Medium
294.How much experience do you have using Face ID or Touch ID?
Medium
295.How do you handle touch events in iOS?Easy
295.How do you handle touch events in iOS?
Easy
296.Explain the different types of gesture recognizers available in iOS.Easy
296.Explain the different types of gesture recognizers available in iOS.
Easy
297.What are the steps involved in submitting an iOS app to the App Store?Medium
297.What are the steps involved in submitting an iOS app to the App Store?
Medium
298.What are the App Store Review Guidelines?Easy
298.What are the App Store Review Guidelines?
Easy
299.How do you implement versioning for your iOS app?Easy
299.How do you implement versioning for your iOS app?
Easy
300.How would you handle versioning of your app's API and ensure backward compatibility?Hard
300.How would you handle versioning of your app's API and ensure backward compatibility?
Hard
301.What is the purpose of UIApplication class in iOS?Medium
301.What is the purpose of UIApplication class in iOS?
Medium
302.How does the UIWindow class work in iOS?Medium
302.How does the UIWindow class work in iOS?
Medium
303.What do you think is a sensible minimum iOS deployment target?Medium
303.What do you think is a sensible minimum iOS deployment target?
Medium
304.What is the Combine framework, and how does it improve reactive programming?Hard
304.What is the Combine framework, and how does it improve reactive programming?
Hard
305.How do you implement App Clips in iOS?Expert
305.How do you implement App Clips in iOS?
Expert
306.What is the difference between alloc and init in Objective-C?Hard
306.What is the difference between alloc and init in Objective-C?
Hard
307.How familiar are you with Objective-C? Have you shipped any apps using it?Medium
307.How familiar are you with Objective-C? Have you shipped any apps using it?
Medium
308.What experience do you have working on macOS, tvOS, and watchOS?Hard
308.What experience do you have working on macOS, tvOS, and watchOS?
Hard
309.What experience do you have with the Swift Package Manager?Medium
309.What experience do you have with the Swift Package Manager?
Medium
310.How do you handle dependency management in iOS?Medium
310.How do you handle dependency management in iOS?
Medium
311.How do you integrate third-party libraries and SDKs?Hard
311.How do you integrate third-party libraries and SDKs?
Hard
312.What is the significance of guard in Swift?Easy
312.What is the significance of guard in Swift?
Easy
313.Can you talk me through some interesting code you wrote recently?Easy
313.Can you talk me through some interesting code you wrote recently?
Easy
314.How do you stay up to date with changes in Swift?Easy
314.How do you stay up to date with changes in Swift?
Easy
315.If you could have Apple add or improve one API, what would it be?Hard
315.If you could have Apple add or improve one API, what would it be?
Hard
316.What books would you recommend to someone learning Swift?Easy
316.What books would you recommend to someone learning Swift?
Easy
317.What non-Apple apps do you think have particularly good design?Easy
317.What non-Apple apps do you think have particularly good design?
Easy
318.What open source projects have you contributed to?Medium
318.What open source projects have you contributed to?
Medium
319.What process do you take to perform code review?Medium
319.What process do you take to perform code review?
Medium
320.Have you ever filed bugs with Apple?Medium
320.Have you ever filed bugs with Apple?
Medium
321.What is the difference between viewDidLoad and viewDidAppear?Easy
321.What is the difference between viewDidLoad and viewDidAppear?
Easy
322.What is the importance of keys in Codable?Medium
322.What is the importance of keys in Codable?
Medium
323.What are property observers (willSet/didSet)?Easy
323.What are property observers (willSet/didSet)?
Easy
324.What does the defer keyword do?Medium
324.What does the defer keyword do?
Medium
325.What is an escaping closure?Hard
325.What is an escaping closure?
Hard
326.What is the difference between try, try?, and try!?Easy
326.What is the difference between try, try?, and try!?
Easy
327.How do you identify a memory leak?Hard
327.How do you identify a memory leak?
Hard
328.What is the purpose of the info.plist file?Easy
328.What is the purpose of the info.plist file?
Easy
329.What is the difference between frame and bounds?Medium
329.What is the difference between frame and bounds?
Medium
330.How do you handle background tasks?Hard
330.How do you handle background tasks?
Hard
331.What is the role of URLSession?Medium
331.What is the role of URLSession?
Medium
332.Explain MVC vs MVVM.Hard
332.Explain MVC vs MVVM.
Hard
333.What is the purpose of Core Data?Medium
333.What is the purpose of Core Data?
Medium
334.What is the Keychain?Medium
334.What is the Keychain?
Medium
335.How do you implement unit tests?Easy
335.How do you implement unit tests?
Easy
336.What is the purpose of @State in SwiftUI?Easy
336.What is the purpose of @State in SwiftUI?
Easy
337.Explain weak vs unowned.Hard
337.Explain weak vs unowned.
Hard
338.What is a closure capture list?Hard
338.What is a closure capture list?
Hard
339.What is the purpose of @main?Easy
339.What is the purpose of @main?
Easy
340.How do you handle orientation changes?Medium
340.How do you handle orientation changes?
Medium
341.What is the difference between a class and a struct?Easy
341.What is the difference between a class and a struct?
Easy
342.Explain the responder chain.Hard
342.Explain the responder chain.
Hard
343.What is the purpose of deinit?Easy
343.What is the purpose of deinit?
Easy
344.What is the purpose of @objc?Easy
344.What is the purpose of @objc?
Easy
345.What is the difference between map and compactMap?Easy
345.What is the difference between map and compactMap?
Easy
346.What are generics?Medium
346.What are generics?
Medium
347.What is the purpose of the info.plist?Easy
347.What is the purpose of the info.plist?
Easy
348.Explain ARC.Medium
348.Explain ARC.
Medium
349.What is a segue?Easy
349.What is a segue?
Easy
350.What is the purpose of @StateObject?Medium
350.What is the purpose of @StateObject?
Medium