Explain shallow copying and depth copying.

Answer Posted / maanya

According to apple's definition:"A deep copy duplicates the objects referenced while a shallow copy duplicates only the references to those objects".

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will iphone 7 get ios 13?

563


How to parse xml? Explain

618


How to download images in ios?

602


What is retain counts?

535


What ios version onwards arc can be used?

590






How to registering your device with the program portal for iphone development?

510


Explain stack and heap?

623


Define view object in iOS operating system?

593


Which language is best for ios development?

576


What do you know about the ios kernel?

576


What happens when you invoke a method on a nil pointer?

2225


What is the use of 'dynamic' keyword?

619


What’s the difference between mkannotation and mkpointannotation?

702


What are “strong” and “weak” references? Why are they important and how can they be used to help control memory management and avoid memory leaks?

560


Can viewdidload be called multiple times?

573