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...


What are the differences between copy and retain?



What are the differences between copy and retain?..

Answer / Varun Sachdeva

Retain increases the reference count by 1, meaning it prevents an object from being deallocated. Copy creates a new instance of the object and increases its reference count. However, with copying, any changes made to the new object do not affect the original.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Does copy increase retain count?

1 Answers  


Are callbacks closures?

1 Answers  


Explain what do you mean by synthesized in objective-c?

1 Answers  


What are the advantages of swift over objective c?

1 Answers  


Can you use swift and objective c together?

1 Answers  


What is better objective c or swift?

1 Answers  


Is objective c faster than swift?

1 Answers  


What is objective writing?

1 Answers  


What is protocol with example?

1 Answers  


What is the latest version of objective-c?

1 Answers  


What is m file?

1 Answers  


What is an nsobject?

1 Answers  


Categories