Correct Answer: To avoid memory presure when creating a lot of autoreleased object (for example in a loop)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Objective C Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Objective C MCQ Questions
A class can have two methods with the same name, but with different argument types.
Which of the following is the fastest?
What is true regarding messaging?
What will be logged? int x = 1; __block int y = 1; void (^test)(void) = ^{ NSLog(@"%i, %i", x, y); }; x = 2; y = 2; test();
What is the C type used to work with objects in Obj-C?
The (...) method can be used to see if an object belongs to a class that implements a particular protocol.
(...) is an abstractClass which represents a stream of data. They are used in Archiving and Unarchiving objects. (...) objects are usually used in a method that is being implemented so that the class conforms to the protocol.
In Objective-C programming, error handling is provided with (...) class available in Foundation framework.
Two distinct types of problems can arise while an iOS or OS X application is running.
Exceptions can be handled using the standard a common pattern found in most other high-level programming languages