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! What are functions? How it differ from Closures? What is the difference between escaping and non escaping closures? How would you avoid retain cycles when using closures in swift? What is capture list? What is difference between unowned and weak? What is protocol? Can we extend protocol? Can we add properties to extensions? What are lazy properties? Are they thread safe? Whats Optional?(Unwrapping techniques) What is difference between if let and guard let? What is difference between Class and Struct? What is Actor? What are initialisers? What is convenience initialiser? What are higher order functions? Tell me life cycle of App Delegate? Life cycle of UIViewController? What are SOLID principles? What you use for persistent storage? Difference between NSSet and NSArray/ Set and Array? What is atomic and nonatmic? What is KVC and KVO?
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