0% found this document useful (0 votes)
6 views8 pages

iOS Development Interview Questions Guide

iOS Interview questions

Uploaded by

Simple Swift
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views8 pages

iOS Development Interview Questions Guide

iOS Interview questions

Uploaded by

Simple Swift
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Accessibility

1. How much experience do you have testing with


VoiceOver?
2. How would you explain Dynamic Type to a new iOS
developer?
3. What are the main problems we need to solve when
making accessible apps?
4. What accommodations have you added to apps to make
them more accessible?
Data
1. How is a dictionary different from an array?
2. What are the main differences between classes and
structs in Swift?
3. What are tuples and why are they useful?
4. What does the Codable protocol do?
5. What is the difference between an array and a set?
6. What is the difference between the Float, Double, and
CGFloat data types?
7. What’s the importance of key decoding strategies when
using Codable?
8. When using arrays, what’s the difference between map()
and coJmpactMap()?
9. Why is immutability important?
10. What are one-sided ranges and when would you use
them?
11. What does it mean when we say “strings are collections
in Swift”?
12. What is a UUID, and when might you use it?
13. What's the difference between a value type and a
reference type?
14. When would you use Swift’s Result type?
15. What is type erasure and when would you use it?
Design Patterns
1. How would you explain delegates to a new Swift
developer?
2. Can you explain MVC, and how it's used on Apple's
platforms?
3. Can you explain MVVM, and how it might be used on
Apple's platforms?
4. How would you explain dependency injection to a junior
developer?
5. How would you explain protocol-oriented programming
to a new Swift developer?
6. What experience do you have of functional
programming?
7. Can you explain KVO, and how it's used on Apple's
platforms?
8. Can you give some examples of where singletons might
be a good idea?
9. What are phantom types and when would you use them?
10. What are the repository and coordinator patterns?
Frameworks
1. How does CloudKit differ from Core Data?
2. How does SpriteKit differ from SceneKit?
3. How much experience do you have using Core Data?
Can you give examples?
4. How much experience do you have using Core
Graphics? Can you give examples?
5. What are the different ways of showing web content to
users?
6. What class would you use to list files in a directory?
7. What is UserDefaults good for? What is UserDefaults
not good for?
8. What is the purpose of NotificationCenter?
9. What steps would you follow to make a network
request?
10. When would you use CGAffineTransform?
11. How much experience do you have using Core Image?
Can you give examples?
12. How much experience do you have using iBeacons?
Can you give examples?
13. How much experience do you have using StoreKit? Can
you give examples?
14. How much experience do you have with GCD?
15. What class would you use to play a custom sound in
your app?
16. What experience do you have of NSAttributedString?
17. What is the purpose of GameplayKit?
18. What is the purpose of ReplayKit?
19. When might you use NSSortDescriptor?
20. Can you name at least three different CALayer
subclasses?
21. What is the purpose of CADisplayLink?
iOS
1. How do you create your UI layouts – storyboards or in
code?
2. How would you add a shadow to one of your views?
3. How would you round the corners of one of your views?
4. What are the advantages and disadvantages of SwiftUI
compared to UIKit?
5. What do you think is a sensible minimum iOS
deployment target?
6. What features of recent iOS versions were you most
excited to try?
7. What kind of settings would you store in your [Link]
file?
8. What is the purpose of size classes?
9. What happens when Color or UIColor has values outside
0 to 1?
Miscellaneous
1. Can you talk me through some interesting code you
wrote recently?
2. Do you have any favorite Swift newsletters or websites
you read often?
3. How do you stay up to date with changes in Swift?
4. How familiar are you with XCTest? Have you ever
created UI tests?
5. How has Swift changed since it was first released in
2014?
6. If you could have Apple add or improve one API, what
would it be?
7. What books would you recommend to someone who
wants to learn Swift?
8. What non-Apple apps do you think have particular good
design?
9. What open source projects have you contributed to?
10. What process do you take to perform code review?
11. Have you ever filed bugs with Apple? Can you walk me
through some?
12. Have you ever used test- or business-driven
development?
13. How do you think Swift compares to Objective-C?
14. How familiar are you with Objective-C? Have you
shipped any apps using it?
15. What experience do you have with the Swift Package
Manager?
16. What experience do you have working on macOS,
tvOS, and watchOS?
17. What is the purpose of code signing in Xcode?
Performance
1. How would you identify and resolve a retain cycle?
2. What is an efficient way to cache data in memory?
3. What steps do you take to identify and resolve battery
life issues?
4. What steps do you take to identify and resolve crashes?
5. How does Swift handle memory management?
6. How would you explain ARC to a new iOS developer?
7. What steps do you take to identify and resolve a memory
leak?
8. What steps do you take to identify and resolve
performance issues?
Security
1. How much experience do you have using Face ID or
Touch ID? Can you give examples?
2. How would you explain App Transport Security to a new
iOS developer?
3. What experience do you have of using the keychain?
4. How would you calculate the secure hash value for some
data?
Swift
1. How would you compare two tuples to ensure their
values are identical?
2. How would you explain operator overloading to a junior
developer?
3. How would you explain protocols to a new Swift
developer?
4. In which situations do Swift functions not need a return
keyword?
5. What are property observers?
6. What are raw strings?
7. What does the #error compiler directive do?
8. What does the #if swift syntax do?
9. What does the assert() function do?
10. What does the canImport() compiler condition do?
11. What does the CaseIterable protocol do?
12. What does the final keyword do, and why would you
want to use it?
13. What does the nil coalescing operator do?
14. What is the difference between if let and guard let?
15. What is the difference between try, try?, and try! in
Swift?
16. What problem does optional chaining solve?
17. What's the difference between String? and String! in
Swift?
18. When would you use the guard keyword in Swift?
19. Apart from the built-in ones, can you give an example
of property wrappers?
20. Can you give useful examples of enum associated
values?
21. How would you explain closures to a new Swift
developer?
22. What are generics and why are they useful?
23. What are multi-pattern catch clauses?
24. What does the @main attribute do?
25. What does the #available syntax do?
26. What is a variadic function?
27. What is the difference between weak and unowned?
28. What is the difference between an escaping closure and
a non-escaping closure?
29. What is the difference between an extension and a
protocol extension?
30. When would you use the defer keyword in Swift?
31. How would you explain key paths to a new Swift
developer?
32. What are conditional conformances?
33. What are opaque return types?
34. What are result builders and when are they used in
Swift?
35. What does the targetEnvironment() compiler condition
do?
36. What is the difference between self and Self?
37. When would you use @autoclosure?
SwiftUI
1. How would you explain SwiftUI’s environment to a new
developer?
2. What does the @Published property wrapper do?
3. What does the @State property wrapper do?
4. What's the difference between a view's initializer and
onAppear()?
5. When would you use @StateObject versus
@ObservedObject?
6. How can an observable object announce changes to
SwiftUI?
7. How would you create programmatic navigation in
SwiftUI?
8. What is the purpose of the ButtonStyle protocol?
9. When would you use GeometryReader?
10. Why does SwiftUI use structs for views?
UIKit
1. How are XIBs different from storyboards?
2. How would you explain UIKit segues to a new iOS
developer?
3. What are storyboard identifiers for?
4. What are the benefits of using child view controllers?
5. What are the pros and cons of using viewWithTag()?
6. What is the difference between @IBOutlet and
@IBAction?
7. What is the difference between a UIImage and a
UIImageView?
8. What is the difference between aspect fill and aspect fit
when displaying an image?
9. What is the purpose of UIActivityViewController?
10. What is the purpose of UIVisualEffectView?
11. What is the purpose of reuse identifiers for table view
cells?
12. When would you choose to use a collection view rather
than a table view?
13. Which parts of UIKit are you least familiar with?
14. How does a view's intrinsic content size aid in Auto
Layout?
15. What is the function of anchors in Auto Layout?
16. What is the purpose of IBDesignable?
17. What is the purpose of UIMenuController?

You might also like