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 |
Is ios development hard?
What is ios viewdidload?
What is the difference between viewdidload and viewwillappear?
Functionality of accelerometer of an iphone
what is universal Application?
Is xcode a framework?
Assume that your app is running in the foreground but is currently not receiving events. In which sate it would be in?
Bundle & document directory, sandbox ?
What is dispatch queue in ios?
What is mvvm in ios?
Define content offset?
What is nsuserdefaults?