iOS Developer Question:

Explain the significance of AutoRelease?

iOS Developer Interview Question
iOS Developer Interview Question

Answer:

AutoRelease: When you send an Object AutoRelease message, it gets added to the Local AutoRelease Pool. When the AutoRelease Pool gets destroyed, the Object will receive a Release
message. The Garbage Collection functionality will destroy the Object if it has the RetainCount as Zero.


Previous QuestionNext Question
How is it possible to improve Battery Life during execution of an Application?What is an Object?