2
Q:

What is Cocoa and cocoa touch? 

Answer:



Q:

What is 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
Job Role: Analyst

2 865
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

2 3416
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

7 2789
Q:

What are the tools required to develop iOS applications?

Answer

IOS development requires Intel-based Macintosh computer and iOS SDK

Report Error

View answer Workspace Report Error Discuss

Subject: IOS - Technology

2 1311
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 7875
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

3 2333
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

6 2097
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

2 2542