Interview Questions iPhone

iPhone


41. Which app specific objects store the app?s content?
Data model objects are app specific objects and store app?s content. Apps can also use document objects to manage some or all of their data model objects.

42. How do you change the content of your app in order to change the views displayed in the corresponding window?
To change the content of your app, you use a view controller to change the views displayed in the corresponding window. Remember, window itself is never replaced.

43. Introduction to the development of the Iphone applications ?
In 2007, the mobile phone industry with the introduction of the iPhone, mobile phone screen multi-touch, which was also the functionality of the iPod.

44. What is iPhone?
iPhone is a combination of Internet and multimedia-enabled smart phone developed by Apple Inc.
iPhone functions as a camera phone, including text messaging and visual voicemail
iPhone is a portable media player that looks like a video iPod
It has a user interface that is built around the multi-touch screen, including virtual keyboard.
App Store, which launched in mid-2008, more than 1,00,000 applications with features like games, reference, GPS navigation, advertising, television, movies, references, celebrities.

45. What is cocoa ?
COCOA is a collection of frameworks used to write Applications for MAC OS X.

46. 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)
? SimulatorThis is used to test our apps before deploying into real device.

47. Describe the functionality of accelerometer of an iPhone ?
iPhone responds to motion using a built-in accelerometer.The accelerometer detects the movement and changes the display accordingly, at the time of rotating iPhone from portrait to landscape.

48. What are the tools required to develop iOS applications?
iOS development requires Intel-based Macintosh computer and iOS SDK.

49. 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.

50. Which App Bundle?
When your iOS application, Xcode packages as build a package. A bundle is a directory in the file system that groups related resources in one place. An iOS application bundle contains the executable file of the application and source files, like application icons, images and localized content.