What happens with the objects if the array is released?
Answer Posted / Jaideep Shrivastava
In Objective-C, when an array is released, its memory is deallocated. However, the objects contained within the array are not automatically deallocated unless they have a weak reference or are autoreleased. If the array contains strong references to these objects, the objects will remain in memory until all strong references to them are removed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category