IOS Questions

Q:

Which JSON framework is supported by iOS?

Answer

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.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

5 2935
Q:

What is Cocoa and cocoa touch?

Answer

Cocoa is for Mac App development  and cocoa touch is for apples touch devices - that provide all development environment 


 

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

0 2757
Q:

What is Automatic Reference Counting (ARC) ?

Answer

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 requirements of your objects and automatically inserts the appropriate method calls at compile time.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

1 1867
Q:

What is the purpose of UIWindow object?

Answer

The presentation of one or more views on a screen is coordinated by UIWindow object..

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

6 1482
Q:

How can we achieve singleton pattern in iOS?

Answer

The Singleton design pattern ensures a class only has one instance, and provides a global point of access to it. The class keeps track of its sole instance and ensures that no other instance can be created. Singleton classes are appropriate for situations where it makes sense for a single object to provide access to a global resource.Several Cocoa framework classes are singletons. They includeNSFileManager, NSWorkspace, NSApplication, and, in UIKit,UIApplication. A process is limited to one instance of these classes. When a client asks the class for an instance, it gets a shared instance, which is lazily created upon the first request.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

2 1002
Q:

Which object is create by UIApplicationMain function at app launch time?

Answer

The app delegate object is created by UIApplicationMain function at app launch time. The app delegate object's main job is to handle state transitions within the app.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

3 785
Q:

Name the framework that is used to construct application’s user interface for iOS.

Answer

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.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

1 738
Q:

Who calls the main function of app during the app launch cycle?

Answer

During app launching, the system creates a main thread for the app and calls the app’s main function on that main thread. The Xcode project's default main function hands over control to the UIKit framework, which takes care of initializing the app before it is run.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

1 725