iPhone

  Home  Mobile Technologies  iPhone


“iPhone frequently Asked Questions by expert members with experience in iPhone . These interview questions and answers on iPhone will help you strengthen your technical skills, prepare for the interviews and quickly revise the concepts. So get preparation for the iPhone job interview”



52 IPhone Questions And Answers

21⟩ Which JSON framework is supported by iOS?

SBJson framework is supported by iOS. It is a JSON parser and generator for Objective-C. SBJson provides flexible APIs and additional control that makes JSON handling easier.

 147 views

22⟩ Tell me What is iPhone OS?

iPhone OS runs on iPhone and iPod touch devices.

Hardware devices are managed by iPhone OS and provides the technologies needed for implementing native applications on the phone.

The OS ships with several system applications such as Mail, Safari, Phone, which provide standard services to the user.

 141 views

23⟩ Difference between shallow copy and deep copy?

Shallow copy is also known as address copy. In this process you only copy address not actual data while in deep copy you copy data.

Suppose there are two objects A and B. A is pointing to a different array while B is pointing to different array. Now what I will do is following to do shallow copy.
Char *A = {‘a’,’b’,’c’};
Char *B = {‘x’,’y’,’z’};
B = A;
Now B is pointing is at same location where A pointer is pointing.Both A and B in this case sharing same data. if change is made both will get altered value of data.Advantage is that coping process is very fast and is independent of size of array.

while in deep copy data is also copied. This process is slow but Both A and B have their own copies and changes made to any copy, other will copy will not be affected.

 141 views

24⟩ What are the requirements for developing iPhone Apps?

Mac OS 10.5/10.6 iPhone SDK (Software Development Kit 3.0/4.0).

IPhone SDK consists of:

IDE to develop iPhone Apps is XCode(This tool is inbuilt in iPhone SDK)

Interface Builder This is used to design GUI of Apps(Inbuilt feature of iPhone SDK)

Instruments This is used to check any memory leaks in our apps (Inbuilt in SDK)

Simulator This is used to test our apps before deploying into real device.

 143 views

26⟩ Do you know What is iPhone sdk?

iPhone SDK is available with tools and interfaces needed for developing, installing and running custom native applications. Native applications are built using the iPhone OS’s system frameworks and Objective-C language and run directly on iPhone OS. Native applications are installed physically on a device and can run in presence or absence of network connection.

 154 views

27⟩ Explain What is iPhone reference library?

iPhone reference library is a set of reference documents for iPhone OS. It can be downloaded by subscribing to the iPhone OS Library doc set. Select Help>Documentation from X code, and click the subscribe button next to the iPhone OS Library doc set, which appears in the left column.

 136 views

32⟩ Explain What is iPhone architecture?

It is similar to Mac OS X architecture

It acts as an intermediary between the iPhone and iPod hardware an the appearing applications on the screen

The user created applications never interact directly with the appropriate drivers, which protects the user applications from changes to the hardware.

 127 views

33⟩ Do you know What is iPhone reference library?

iPhone reference library is a set of reference documents for iPhone OS.

It can be downloaded by subscribing to the iPhone OS Library doc set.

Select Help>Documentation from X code, and click the subscribe button next to the iPhone OS Library doc set, which appears in the left column.

 136 views

35⟩ How can you respond to state transitions on your app?

On state transitions can be responded to state changes in an appropriate way by calling corresponding methods on app's delegate object.

For example:

application Did Become Active method can be used to prepare to run as the foreground app.

application Did Enter Background method can be used to execute some code when app is running in the background and may be suspended at any time.

application Will Enter Foreground method can be used to execute some code when your app is moving out of the background application Will Terminate method is called when your app is being terminated.

 132 views