iphone Interview Questions part-13
141-Helper Objects Helper Objects are used throughout Cocoa and CocoaTouch, and usually take the form of a delegate or dataSource. They are commonly used to add functionality to an existing class without having to subclass it. 142-Cluster Class Class…
iphone Interview Questions part-12
121- Formal vs informal protocol. In addition to formal protocols, you can also define an informal protocol by grouping the methods in a category declaration: @interface NSObject (MyProtocol) //someMethod(); @end Informal protocols are typically declared…
iphone Interview Questions part-11
111- Objective-C. Objective-C is a very dynamic language. Its dynamism frees a program from compile-time and link-time constraints and shifts much of the responsibility for symbol resolution to runtime, when the user is in control. Objective-C is more…
iphone Interview Questions part-10
101-What is polymorphism? This is very famous question and every interviewer asks this. Few people say polymorphism means multiple forms and they start giving example of draw function which is right to some extent but interviewer is looking for more…
iphone Interview Questions part-9
91-What is accessor methods? Accessor methods are methods belonging to a class that allow to get and set the values of instance valuables contained within the class. 92-What is synthesized accessor methods? Objective-c provides a mechanism that automates…
iphone Interview Questions part-8
71-What is retaining? It is reference count for an object. 72- What is webservice? To get data in form of xml ,by using this we can get data from a server. 73-What is parsing? To get data from web service we use parsing. 74-which xml parser we use on…
iphone Interview Questions part-7
61- Which object manage the presentation of app’s content on the screen? View controller objects takes care of the presentation of app’s content on the screen. A view controller is used to manage a single view along with the collection of subviews. It…
iphone Interview Questions part-6
51-Assume that system is running low on memory. What can system do for suspended apps? In case system is running low on memory, the system may purge suspended apps without notice. 52- How can you respond to state transitions on your app? On state…
iphone Interview Questions part-5
Interview Questions 41-Why an app on iOS device behaves differently when running in foreground than in background? An application behaves differently when running in foreground than in background because of the limitation of resources on iOS devices. 42-…
iphone Interview Questions part-4
31-What is notification in iOS? The notification mechanism of Cocoa implements one-to-many broadcast of messages based on the Observer pattern. Objects in a program add themselves or other objects to a list of observers of one or more notifications, each…