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 |
What is the difference between weak and strong?
Which is easier android or ios development?
How you will store user info (username, password or token) securely in ios?
What is atomic and non atomic in ios?
What is fast enumeration?
Define view object.
Explain ~/documents, ~/library, ~/tmp. What directory is ~ on ios?
what is the difference between nonatomic & atomic
What are most ios apps written in?
What is mvc and mvvm in ios?
What json framework supported by ios?
Explain how the push notification works in iOS operating system?