Does copy increase retain count?
Answer / Jitendra Kumar Ray
Yes, when you use the copy method on an object in Objective-C, the retain count of the original object is incremented by 1 (because a new copy is created), and the retain count of the new copy is also set to 1.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is objective c the same as c sharp?
Explain the types of protocol?
Is objective c dynamically typed?
How to add custom cell in uitableview in objective c?
How is #import different from #include?
Is nsobject a parent class or a derived class?
What are the delegate?
How to declare variable in objective c?
Does objective c have function overloading?
What is the difference between underscore and self (i.e self.xx and _xx) ?
Is objective c hard to learn?
What is abi stability?