General Flashcards
Where can you test Apple iPhone apps if you don’t have the device?
- iOS simulator can be used to test mobile applications
- xCode tool that comes along with iOS SDK includes Xcode IDE as well as the iOS Simulator
- Xcode also includes all required tools and frameworks for building iOS apps.
- However, it is strongly recommended to test the app on the real device before publishing it.
Does iOS support multitasking?
iOS 4 and above supports multi-tasking and allow apps to remain in the background until they are launched again or until they are terminated
Which JSON framework is supported by iOS?
SBJson framework is supported by iOS. It is an JSON parser and generator for Objective-C. SBJson provides flexible APIs and additional control that makes JSON handling easier.
What are the tools required to develop iOS applications?
OS development requires Intel-based Macintosh computer and iOS SDK
Name the framework that is used to construct application’s user interface for iOS?
The UIKit framework is used to develop application’s user interface for iOS. UIKit framework provides event handling, drawing model, windows, views and controls specifically designed for a touch screen interface.
Name the application thread from where UIKit classes should be used?
UIKit classes should be used only from an applications’s main thread.
- Note: The derived classes of UIResponder and the classes which manipulate application’s user interface should be used from application’s main thread.
Which API is used to write test scripts that help in exercising the application’s user interface elements?
UI Automation API is used to automate test procedures
Test scripts are written in JavaScript to the UI Automation API.
This in turn simulates user interaction with the application and returns log information to the host computer.
Why an app on iOS device behaves differently when running in foreground than in background?
Application behaves differently when running in foreground than in background because of the limitation of resources on iOS devices.
How can an operating system improve battery life while running an app?
- An app is notified whenever the operating system moves app between foreground and background.
- The operating system improves battery life while it bounds what your app can do in the background.
- This also improves the user experience with foreground app.
Which framework delivers event to custom object when app is in foreground?
- The UIKit infrastructure takes care of delivering events to custom objects.
- As an app developer, you have to override methods in the appropriate objects to process those events.
What is .plist
In iPhone development, Property Lists are a key value story that your application can use to save and retrieve data.
What is IPA
IPA stands for iOS App Store Package, is an iPhone application archive file which stores an iPhone app.
What is Xib
The .xib file extension is most commonly associated with interface builder files. Interface Builder is a graphics editing software that is used to design and test the user interfaces of a variety of software products.