Have you gone through the first 3 parts of the iOS developer interview questions? If not yet, familiarize yourself to the concepts so you don’t go blank during your next interview. Moving forward, here’s another set of questions you will probably face when applying for the job of iOS developer.
What is the difference between a border and borders (frame and bound)?
Boundary: A rectangle in UIView with location (x, y) and size (width, height) relative to its own coordinate system (0, 0).
Frame: A rectangle in UIView with location (x, y) and size (height, width) relative to the element which contains it.
What is the Responder Chain?
Responder Chain is a hierarchy of objects which can respond to received events.
What are regular expressions?
Regular expressions are special pattern strings that describe how to search in a string.
What is an operator overload?
Overloading operators allows us to change the interaction of existing operators with existing types.
What is TVMLKit?
What are the limitations of the tvOS platform?
There are various limitations of the tvOS platform.
- First, tvOS does not support browsers. Therefore, you cannot use WebKit or another web rendering engine. Your application cannot refer to a web browser including web links, OAuth, or social networking sites.
- Second, tvOS applications can not explicitly use local storage. When you start the product, the devices come with a hard drive, either 32 GB or 64 GB. However, this doesn’t allow applications to save files to the device directly.
On an overall, the bundle of a tv application cannot exceed 4 GB.
What are the functions?
The functions allow grouping a series of statements to accomplish a task. After creation, you can use a function in the code again and again. A function helps reduce the use of repetitive statements in a code.
Tip: Good functions take input and return the output. Bad functions set common variables and rely on other functions.
What is ABI?
ABI (binary application interface) is essential for applications that use external libraries. If a program uses a specific library, and this library gets an update, you will need to re-compile this application. And from the perspective of the end user, you may not have the source code. However, you won’t need to change the program if the updated library uses the same ABI.
Why is the design pattern significant?
Design patterns are reusable solutions for common problems in creating applications. These templates help you write simple code you can use again and again. For example, the most common design patterns for Cocoa:
structural – Decorator, Adapter, Facade;
Behavioral – Observer (Observer) and the keeper (Memento).
What is a singleton?
This design pattern ensures that there is only one instance for this class. Moreover, it also ensures that there is a global access point for this instance. Usually, it uses lazy loading to create a single instance when it is necessary for the first time.
I hope this series of iOS developer interview questions helps you get your next job with ease.
What do you think about this series of iOS developer interview questions? Share your comments and concerns in the comment section below.