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
How can a user respond or react to the state transitions on the app?
Does ios support multiple inheritance?
What persistent storage used in mobile apps - ios?
Which app specific objects store the app's content in iOS operating system?
what is the difference between Xcode, Cocoa and Objective C?
Explain how you can add frameworks in Xcode project?
What are the benefits of ios?
Who developed ios?
what are all instruments available in Xcode?
How do you decide when to use infinite scroll or pagination in ios? : IOS Architect
What language is ios written in?
What is array in ios?
Explain how app delegate is declared by Xcode project templates?
Explain the characteristics of ios?
What is difference between performblock: and performblockandwait:?