0% found this document useful (0 votes)
9 views

Intermediate Level: Frame Bounds

Uploaded by

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

Intermediate Level: Frame Bounds

Uploaded by

Prabhat Pankaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Intermediate Level

1 What is MVC, and how is it implemented in iOS applications?


2 Explain the difference between frame and bounds in UIKit.
3 What is a protocol in Swift, and how is it different from an interface in other
languages?
4 How does memory management work in iOS? Explain ARC.
5 What is the difference between strong, weak, and unowned references in
Swift?
6 Explain the delegation pattern and provide an example of its use in UIKit.
7 What are extensions in Swift, and how are they used?
8 Describe how to use Core Data for persistent storage in an iOS app.
9 What is a singleton pattern? Give an example of its usage in iOS development.
10 How does the diffable data source work in UITableView or
UICollectionView?
Advanced Level

1 What is the difference between synchronous and asynchronous tasks in Swift?


How do you implement each?
2 Explain the concept of lazy properties in Swift. When and why would you use
them?
3 What are higher-order functions in Swift? Provide examples of map, filter,
and reduce.
4 How would you implement dependency injection in a Swift application?
5 Explain the concept of GCD (Grand Central Dispatch) and how it is used for
concurrency in iOS.
6 Describe the Coordinator pattern and its advantages in iOS applications.
7 How does Swift handle errors? What are the different ways to handle errors in
Swift?
8 Explain the use of key-value observing (KVO) and how it differs from
delegation.
9 What is the purpose of @escaping closures in Swift? Provide an example.
10 How do you manage dependencies in an iOS project? Discuss the use of
CocoaPods, Carthage, and Swift Package Manager.
Expert Level

1 What are some best practices for optimizing performance in an iOS application?
2 Explain the differences between Combine and RxSwift. When would you
choose one over the other?
3 What is a closure capturing list in Swift? Explain with examples.
4 How does the Swift compiler handle type inference, and when might you need to
provide explicit type annotations?
5 Explain the importance of immutability in Swift and how you can ensure your
objects remain immutable.
6 What is protocol-oriented programming, and how does it differ from object-
oriented programming in Swift?
7 How would you architect a complex iOS application to ensure it is scalable and
maintainable?
8 Discuss the differences between synchronous, asynchronous, and concurrent
programming. Provide examples in Swift.
9 What is SwiftUI, and how does it differ from UIKit? Discuss the advantages and
limitations of SwiftUI.
10 Describe how you would implement custom animations using Core Animation.

You might also like