Skip to main content

iOS Interview Questions List

Hi All! Here I am after a long time with some important topic. 

iOS Interview Questions

 Hope these questions will help you.....STUDY WELL. All the best!

  1. What are functions? How it differ from Closures?
  2. What is the difference between escaping and non escaping closures?
  3. How would you avoid retain cycles when using closures in swift?
  4. What is capture list?
  5. What is difference between unowned and weak?
  6. What is protocol?
  7. Can we extend protocol?
  8. Can we add properties to extensions?
  9. What are lazy properties? Are they thread safe?
  10. Whats Optional?(Unwrapping techniques)
  11. What is difference between if let and guard let?
  12. What is difference between Class and Struct?
  13. What is Actor?
  14. What are initialisers? What is convenience initialiser?
  15. What are higher order functions?
  16. Tell me life cycle of App Delegate?
  17. Life cycle of UIViewController?
  18. What are SOLID principles?
  19. What you use for persistent storage?
  20. Difference between NSSet and NSArray/ Set and Array?
  21. What is atomic and nonatmic?
  22. What is KVC and KVO?
  23. MVVM Architecture? Why MVVM used over MVC?
  24. Whats new in Swift?
  25. What is SSL Pinning?
  26. What are Access Modifiers?
  27. What is final keyword?
  28. How to achieve concurrency?
  29. What is difference between subclassing and extension?
  30. What is intrinsic content size?
  31. What is defer statement?
  32. What is Codable? What is Coding Key?
  33. What is GCD?
  34. What is NSOperation? Have you used it? Explain with example?
  35. What is Singleton design pattern? Can you write and show how singletons are made?
  36. What are Data races?
  37. What is Compositional Layout in UICollectionView?
  38. Responder chain of UIButton, UITableView?
  39. What are Dispatch Groups?
  40. What is the difference between frames and bound?
  41. What is Core data and Sqlite?
  42. What are OOPs concept?
  43. What are profiles of ipa files? (App Store, Ad hoc, Enterprise)
  44. Have you integrated push notification? Can you tell the steps involved in it?
  45. Have you integrated Google Maps? Can you tell the steps involved in it?


Comments

Popular posts from this blog

How to open a particular View Controller when the user taps on the push notification received?

Thank you for joining. Lets start First of all we will go through the Push notification flow  Push Notification Flow Here, I am considering that everyone has gone through APNs(Apple Push Notification service). If not then first go through this link . How the push notification flow takes place? Above image will help you understand the flow easily which is as follows: Your app registers for Push notification service. The device in which app is running will request for device token from APNs server along with device certificate. APNs will validate the certificates of application and generate a app-specific device token. APNS will send the device token to the application. This device token is then send to your/FCM server which will be providing notification. So whenever any interesting thing happens, your/FCM server sends push notification request along with device token to APNs. APNs decrypts the token to ensure the validity of the request and to determine the target device an

Swift programs to print different star patterns

Hello All. Thank you for joining. As we all know, everyone in the software domain goes through the tasks of printing patterns in an interview process. However, sometimes it seems difficult for a beginner to perform these tasks. So here are some programs in Swift to print different patterns which might help. Please feel free to correct me if I am wrong. Pattern 1:  Given a number int, write a program to print a below shape with n rows. Solution: func  upsideDown( _  int :  Int ) {      for  i  in   0 ...int- 1      {          print ( String . init (repeating:  "*" , count: int-i))      } } upsideDown ( 6 ) Pattern 2:  Given a number int, write a program to print a below shape with n rows. Solution: int = number of rows i = row number from 1 to int So count number of spaces and stars in each row and accordingly find the expression For this pattern expression is: Spaces count = int - i Star Count =

Keyboard handling - Key Point in iOS App Development

Hello and Thank you for joining. Today, let us go through a very significant topic which is Keyboard Handling . All iOS Developer meets this challenge once while making an app including me. So lets see how can we overcome this challenge. In this blog, we will understand the method to handle the keyboard's show  and hide  events and accordingly handle the View Controllers. We will be working on an example to understand the procedure to handle Keyboard Events . But before that let's go through some significant terms. The first thing you should know is the UIWindow- “The backdrop for your app’s user interface and the object that dispatches events to your views.” UIWindow is the one on which we display our app content. However, there are some more tasks which object of UIWindow handles. Those are as follows- Setting the z-axis level of your window, which affects the visibility of the window relative to other windows. Showing windows and making