Answer Posted / maanya
.
Retain counts are the way in which memory is managed in Objective-C. When you create an object, it has a retain count of 1. When you send an object a retain message, its retain count is incremented by 1. When you send an object a release message, its retain count is decremented by 1. When you send an object a autorelease message, its retain count is decremented by 1 at some stage in the future. If an objectʼs retain count is reduced to 0, it is deallocated.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is core data in ios swift?
What are the app states in ios?
What is the difference between viewdidload and viewwillappear?
What is the meaning of 'strong'keyword?
Is ios multithreading?
What are layer objects and what do they represent in iOS operating system?
What is nspersistentstore? Is it thread safe?
Who calls the main function of you app during the app launch cycle?
Do you know what is iphone reference library?
Difference b/w collectionView & uitableview?
What are most ios apps written in?
What is arc and how is it different from autorelease?
Is react native easy?
What is synthesize in ios?
What is clean architecture ios?