Explain retain counts
Answer / 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 |
Define 'weak' keyword?
How do I get rid of app errors on iphone?
Flow of push notification?
Explain me what is polymorphism?
How to run xcode and other tools with the iphone sdk?
What is ios realm?
Explain the difference between 'protocol' and 'delegate'?
What is a fault?
When is an app said to be in active state?
What is dependency management tools?
are you using charlesproxy ? Why/why not ?
What language is ios written?