50 iOS Interview Questions And Answers Part 4
Updated on Dec, 2023
Check out Part 1, Part 2 and Part 3 if you haven’t already :). Let’s get started.
1- What is Functional programming?
An approach of solving problems by decomposing complicated processes. The goal is avoid changing state or mutating values outside of its scope. There are three main concepts. These concepts are: separating functions and data, immutability, and first-class functions.
2- Explain Dynamic Type
Dynamic Type allows our app’s text to increase or decrease size on user’s preference improving visibility and accessibility. When the user selects one of the large accessibility sizes from setting menu. We can observe the content size category did change notification, but since iOS 10 there is a better way using trait collections UITraitCollection.
3- What is ARC and how is it different from AutoRelease?
Autorelease is still used ARC. ARC is used inside the scope, autorelease is used outside the scope of the function.
4- Explain differences between Foundation and CoreFoundation
The Foundation is a gathering of classes for running with numbers, strings, and collections. It also describes protocols, functions, data types, and constants…