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…
iphone Interview Questions part-3
21-What is Automatic Reference Counting (ARC)? ARC is a compiler-level feature that simplifies the process of managing the lifetimes of Objective-C objects. Instead of you having to remember when to retain or release an object, ARC evaluates the lifetime…
iphone Interview Questions part-2
11-Can you explain what happens when you call autorelease on an object? When you send an object a autorelease message, its retain count is decremented by 1 at some stage in the future. The object is added to an autorelease pool on the current thread. The…
iphone Interview Questions part-1
1-How would you create your own custom view? By Subclassing the UIView class. 2-Whats fast enumeration? Fast enumeration is a language feature that allows you to enumerate over the contents of a collection. (Your code will also run faster because the…
iPhone Interview Questions 2
1)what happens if you remove the object from the array, and you try to use it?our application crashes 2)Difference between HTML & XML? XML was designed to transfer and store the data XML was to carry data not to display the data XML is designed to be…
iphone interview questions
1. Explain what ARC is and how it works Since it doesn’t make much sense to talk about the old retain-release cycle, instead I like to find out if the candidate actually knows what ARC really is, or if they just consider a bit of Apple magic. ARC stands…