Ios Developer Engineer Interview Questions

5,594 ios developer engineer interview questions shared by candidates

What will be printed after the following code? class TestClass { var aBlock: (() -> ())? = nil let aConstant = 5 init() { print("init") self.aBlock = { print(self.aConstant) } } deinit { print("deinit") } } var testClass: TestClass? = TestClass() testClass = nil
avatar

IOS Developer

Interviewed at Fiverr Inc.

4.1
Feb 8, 2018

What will be printed after the following code? class TestClass { var aBlock: (() -> ())? = nil let aConstant = 5 init() { print("init") self.aBlock = { print(self.aConstant) } } deinit { print("deinit") } } var testClass: TestClass? = TestClass() testClass = nil

Given an array that contains numbers and/or other nested arrays, write an algorithm to come up with a sum of these elements, multiplied by the depth (or how many arrays deep) you are. For example, what would you do with an input array that looks like: [ 2, 3, [ 9, [ 1, 2 ]], 4]
avatar

IOS Developer

Interviewed at Meta

3.6
Oct 19, 2017

Given an array that contains numbers and/or other nested arrays, write an algorithm to come up with a sum of these elements, multiplied by the depth (or how many arrays deep) you are. For example, what would you do with an input array that looks like: [ 2, 3, [ 9, [ 1, 2 ]], 4]

Pretend you're given a simple iOS app with a table view and a text field which looks like a search bar. It has methods to call to a remote server to get potential auto complete words. Describe how you would actually implement the iOS side.
avatar

IOS Developer

Interviewed at Meta

3.6
Jan 14, 2016

Pretend you're given a simple iOS app with a table view and a text field which looks like a search bar. It has methods to call to a remote server to get potential auto complete words. Describe how you would actually implement the iOS side.

Viewing 101 - 110 interview questions

Glassdoor has 5,594 interview questions and reports from Ios developer engineer interviews. Prepare for your interview. Get hired. Love your job.