Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Does copy increase retain count?



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

Post New Answer

More Objective-C Interview Questions

Is objective c the same as c sharp?

1 Answers  


Explain the types of protocol?

1 Answers  


Is objective c dynamically typed?

1 Answers  


How to add custom cell in uitableview in objective c?

1 Answers  


How is #import different from #include?

1 Answers  


Is nsobject a parent class or a derived class?

1 Answers  


What are the delegate?

1 Answers  


How to declare variable in objective c?

1 Answers  


Does objective c have function overloading?

1 Answers  


What is the difference between underscore and self (i.e self.xx and _xx) ?

1 Answers  


Is objective c hard to learn?

1 Answers  


What is abi stability?

1 Answers  


Categories