What is a delegate. Where can we use it. Why should we not use inheritance in place of delegate. What is an app delegate.
Lead Ios Developer Interview Questions
3,242 lead ios developer interview questions shared by candidates
Explain deep linking. How will you structure deep linking for your app? What is concurrency, what are different ways to achieve concurrency in iOS?
1. String palindrome, 2. API call during Search text field in TextEditDidEnd delegate method
Describe a time you had to settle a dispute with a teammate
phone screen: 1) write a method to detect if a rectangle is inside another rectangle. takes 2 params. the first one is bigger, the 2nd one is smaller. both params are frame (CGRect). return boolean, next question is leetcode 408 onsite: 1) write a method to take two string of numbers with decimal. e.g. "12.892347823" and "65655.62". return the sum of these two numbers in string. CANNOT convert param into integer. similar to leetcode 415, but it is decimal numbers 2) write a Array extension method like func remove(removeArray: [Int]). this method remove the elements in removeArray from original array. e.g. array has [1,3,3,4,5,1,6], removeArray is [1, 3], the method removes 1 and 3 from original array, so it returns [4,5,6]. 3) leetcode 31 4) leetcode 1249 System design: design an app similar to IG, but user swipe horizontally, and the app can swipe autmatically every 10 secs if user is doing nothing. when user swipes to next photo, timer resets to zero. Also, if you friend has a news feed posted, server can push to your app. new item is inserted to the front of the queue. e.g., the app has items 1,2,3,4,5. when your friends posted item 6 and 7 and you are looking at item 1, , your app will have 1, 6, 7, 2, 3, 4, 5. need to find a way for server to push to the app. (websocket, polling, or push notification. i chose polling). needs to explain what you choose.
Explain Memory management and threading. And couple UI related questions
As a senior engineer, you can expect to encounter questions regarding patterns, iOS architectures, and problem-solving. In most cases, a take-home test will be assigned for you to demonstrate your skills.
A few Objective C memory management questions.
How to design a memory-pool?
LC medium about strings. Information from the preparation document they provide you certainly will suffice, don't worry.
Viewing 2911 - 2920 interview questions