Ios Engineer Interview Questions

7,305 ios engineer interview questions shared by candidates

For my phone (and Collabedit) question, I was asked to implement functionality matching the description of this API: /* This class will be given a list of words (such as might be tokenized * from a paragraph of text), and will provide a method that takes two * words and returns the shortest distance (in words) between those two * words in the provided text. * Example: * WordDistanceFinder finder = new WordDistanceFinder(Arrays.asList("the", "quick", "brown", "fox", "quick")); * assert(finder.distance("fox", "the") == 3); * assert(finder.distance("quick", "fox") == 1); * * "quick" appears twice in the input. There are two possible distance values for "quick" and "fox": * (3 - 1) = 2 and (4 - 3) = 1. * Since we have to return the shortest distance between the two words we return 1. */
avatar

IOS Developer

Interviewed at LinkedIn

3.8
Apr 26, 2017

For my phone (and Collabedit) question, I was asked to implement functionality matching the description of this API: /* This class will be given a list of words (such as might be tokenized * from a paragraph of text), and will provide a method that takes two * words and returns the shortest distance (in words) between those two * words in the provided text. * Example: * WordDistanceFinder finder = new WordDistanceFinder(Arrays.asList("the", "quick", "brown", "fox", "quick")); * assert(finder.distance("fox", "the") == 3); * assert(finder.distance("quick", "fox") == 1); * * "quick" appears twice in the input. There are two possible distance values for "quick" and "fox": * (3 - 1) = 2 and (4 - 3) = 1. * Since we have to return the shortest distance between the two words we return 1. */

Build an app that consumes this provided API. Display that information in a table view, and when tapped display a detailed view for that event. Include a way to mark an event as a favorite, and add the search functionality. Marking a favorite should remain persistent between app installs.
avatar

IOS Engineer

Interviewed at Fetch

2.9
Jan 6, 2021

Build an app that consumes this provided API. Display that information in a table view, and when tapped display a detailed view for that event. Include a way to mark an event as a favorite, and add the search functionality. Marking a favorite should remain persistent between app installs.

1. "copy” is not a property of which following class? a. NSArray b. NSInteger c. NSString d. NSNumber 2. You can not call which following method directly? a. sizeThatFits b. sizeToFit c. layoutSubview d. setNeededLayout 3. What type can be used for a delegate? a. strong b. weak c. inout d. copy 4. Which of following can not be appended to an Array. a. Int b. NSObject c. CGColor d. Date 5. In following mechanism, which one can not be used to decouple class? a. delegate b. mutex c. notification d. block
avatar

IOS Developer

Interviewed at Meta

3.6
Nov 18, 2017

1. "copy” is not a property of which following class? a. NSArray b. NSInteger c. NSString d. NSNumber 2. You can not call which following method directly? a. sizeThatFits b. sizeToFit c. layoutSubview d. setNeededLayout 3. What type can be used for a delegate? a. strong b. weak c. inout d. copy 4. Which of following can not be appended to an Array. a. Int b. NSObject c. CGColor d. Date 5. In following mechanism, which one can not be used to decouple class? a. delegate b. mutex c. notification d. block

Viewing 131 - 140 interview questions

Glassdoor has 7,305 interview questions and reports from Ios engineer interviews. Prepare for your interview. Get hired. Love your job.