Ios Engineer Interview Questions

7,324 ios engineer interview questions shared by candidates

Give these two API’s, plus an enum and struct: enum Alignment { Left, Right, Center } class Size { int width; int height; } // returns the dimensions for a character Size getCharSize(char c); // Draws a character at the specified location, with // (0,0) being the top left. This method does NOT // understand the newline character. Once rendered, // there is no way to delete a character. void drawCharAt(char c, int x, int y); Show how you would implement code for this function: void renderText(String text, int screenWidth, Alignment alignment);
avatar

IOS Engineer

Interviewed at Twitch

3.7
Apr 19, 2017

Give these two API’s, plus an enum and struct: enum Alignment { Left, Right, Center } class Size { int width; int height; } // returns the dimensions for a character Size getCharSize(char c); // Draws a character at the specified location, with // (0,0) being the top left. This method does NOT // understand the newline character. Once rendered, // there is no way to delete a character. void drawCharAt(char c, int x, int y); Show how you would implement code for this function: void renderText(String text, int screenWidth, Alignment alignment);

Viewing 1361 - 1370 interview questions

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