Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

 Explain retain counts

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


Please Help Members By Posting Answers For Below Questions

What is core data in ios swift?

822


What are the app states in ios?

839


What is the difference between viewdidload and viewwillappear?

827


What is the meaning of 'strong'keyword?

865


Is ios multithreading?

813


What are layer objects and what do they represent in iOS operating system?

808


What is nspersistentstore? Is it thread safe?

936


Who calls the main function of you app during the app launch cycle?

860


Do you know what is iphone reference library?

883


Difference b/w collectionView & uitableview?

2306


What are most ios apps written in?

933


What is arc and how is it different from autorelease?

823


Is react native easy?

758


What is synthesize in ios?

785


What is clean architecture ios?

827