Schedule a 30 minute appointment with a client advisor today. Start
Engineering, Design, Marketing, and More

iOS interview questions

The most popular questions

Use our complementary questions and answers to filter and hire the best. Questions crowdsourced by our clients, answers by Punch. We provide these complementary questions to help our clients more quickly create tests for potential hires at their organizations.

Get a question answered
Punch offers four divisions of services: design, engineering, staffing, and demand

Interview questions for your next interview

Question
What framework is used to build an iOS app’s user interface, and what does it provide?
Answer
The UIKit framework is used to develop application’s user interface. UIKit framework provides event handling, drawing model, windows, views, and controls, specifically designed for a touch screen interface. The UIKit framework (UIKit.framework) provides the crucial infrastructure needed to construct and manage iOS apps.
Question
What would we say the state of an app is, if it’s loaded into memory but is not executing any code?
Answer
An app is said to be in Suspended state when it is still in memory but is not executing any code.

Find developers today

Hire a Punch engineer

Punch offers four divisions of services: design, engineering, staffing, and demand. Our four divisions form the core of our People Forward Approach.

Contact us
Find developers today
Question
Which is the super class of all view controller objects?
Answer
All view controller objects inherit from a UIViewController class which provides functionality for loading views, presenting them, rotating them in response to device rotations, and several other standard system behaviours.
Question
What is an App Bundle?
Answer
Just like a directory in a file system that groups related resources together in one place, an iOS app bundle contains the application’s executable file and supporting resources such as app icons, image files, and localised content. The application is packaged in a bundle by Xcode when it is compiled.
Question
Outline the class hierarchy for a UIButton until NSObject.
Answer
UIButton inherits from UIControl. UIControl inherits from UIView. UIView inherits from UIResponder. UIResponder inherits from the root class NSObject.
Question
What is the difference between Delegate and KVO?
Answer
Both are ways to have relationships between objects. Delegation is a one to one relationship where one object implements a delegate protocol and another uses it and sends messages to assuming that those methods are implemented since the receiver promised to comply to the protocol. KVO is many-to-many relationship where one object could broadcast a message and one or multiple other objects can listen to it and react.
Question
Where wouldn't you use singletons and where you wouldn't?
Answer
Singletons should be avoided and used only for objects that need to be shared throughout your application. It should be used carefully, instantiated lazily, if it’s possible, and passed into other objects as a dependency using Inversion of Control and Dependency Injection principles.

Ask a question

Ask a question, and one of our engineers will answer it.

We keep our questions nice and simple to be useful for everyone, and we may not answer or publish every question.

Your number is stored privately and never shared.
By submitting a question, you agree to our terms.
Request sent. Thank you!
Send another one