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

How can a user respond or react to the state transitions on the app?

956


Does ios support multiple inheritance?

836


What persistent storage used in mobile apps - ios?

889


Which app specific objects store the app's content in iOS operating system?

847


what is the difference between Xcode, Cocoa and Objective C?

937


Explain how you can add frameworks in Xcode project?

839


What are the benefits of ios?

1001


Who developed ios?

858


what are all instruments available in Xcode?

1020


How do you decide when to use infinite scroll or pagination in ios? : IOS Architect

918


What language is ios written in?

861


What is array in ios?

831


Explain how app delegate is declared by Xcode project templates?

993


Explain the characteristics of ios?

876


What is difference between performblock: and performblockandwait:?

965